Always design and code assuming that threads are more asynchronous than you can imagine. Anyone who's written a lot of code knows that computers have little creatures that enjoy annoying you. Remember that when you code with threads there are a lot of them loose at the same time. Take no chances, make no assumptions.
Sage (and amusing) advice on programming with the pthreads library from David Butenhof.
Posted at April 7, 2005 9:49 PMComments are closed