by viraptor · 16y ago · 0 comments
[1] http://www.thecodist.com/article/writing-multithreaded-code-...
If you have a lot of critical sections all over the place, you're probably doing it wrong.
The only exception is when you're forced to implement network code using a thread-per-connection or thread-per-socket model, in which case you might end up having to have your client/server threads work within your app's regular workflow. Icky, and should be avoided when possible.