Writing about threads


When threads are passing messages around, and come up with fabulous improvements in processing time, that sounds to me like the job includes I/O of some kind. Threads are a great way to get around I/O delays - the graphic user interface being of course an example.

They’re also a good way to shoot yourself in the foot, and some programmers - even an ex-Be engineer, I think, though I don’t remember who - have argued that the pervasive use of threads in the Interface Kit is asking for trouble. It’s kind of a religious argument, and indeed if you religiously follow good practices with threads you don’t have to worry about it too much.