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.
In reply to Re^5: Semaphores failing to prevent race condition
by roboticus
in thread Semaphores failing to prevent race condition
by Llew_Llaw_Gyffes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |