Hi Perl Monks,
I have a multithreaded perl script which uses select RBITS,WBITS,EBITS,TIMEOUT to wait for data to be available from various files/sockets etc.
How can I incorporate Thread::Queue into select, so I can use select to know when a Queue has a message in it?
Thanks!
In reply to select on thread queue by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |