>If your goal is to listen for several inputs simultaneously, without blocking, perhaps you can use IO::Poll or IO::Select.
yes, I use select for waiting data appearing into the file, it's look like a watch dog. but values must be different and then I want to do this priorities. for instance if I've got 20 and 60, second bigger then first, also for second must be assigned less timeout then for first value.In reply to Re^2: scheduling prioriting
by gants
in thread scheduling prioriting
by gants
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |