Tag Archives: threads

Program structure and threads

Threads were initially used for telephony systems where each request to connect could be given to a new thread to manage. The simplification was, in theory, dramatic. The programmer could just write the code for handling a single line, and … Continue reading

Posted in architecture, operating systems, software engineering | Tagged , | Leave a comment

Are threads evil? (updated)

This paper by Prof. Edward Lee explains something of why “threads” are such a painful abstraction.  As Prof. Lee notes, threads intrinsically create non-determinism and resource conflicts which we then attempt to “prune” via synchronization and complex tools. In an … Continue reading

Posted in embedded systems, operating systems, real-time, rtlinux, software engineering | Tagged , , , , | 1 Comment