Have one thread handle the input and output, and use Thread::Queues to send the input/output back and forth between the threads. Having more than one thread doing input/output will create many problems.
In reply to Re: Controlling display of print command
by Corion
in thread Controlling display of print command
by vishi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |