in reply to Re^4: Semaphores failing to prevent race condition
in thread Semaphores failing to prevent race condition

Llew_Llaw_Gyffes:

Yeah, it's often very difficult to change I/O in an application after it's done. I like your idea of using your talker thread to handle the I/O for other threads, especially because it's the one that outputs character-by-character, rather than complete messages.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^5: Semaphores failing to prevent race condition