The following code runs the thread asynchronously and detached:
async { ... }->detach();
This starts a separate thread that will read from STDIN and stuff the input into the queue.
In reply to Re^5: How to Multiplex a Client using IO::Select
by Corion
in thread How to Multiplex a Client using IO::Select
by muthuma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |