Threads: a programming construct for reliable real-time distributed computing