Read http://search.cpan.org/~yanick/Parallel-ForkManager-1.17/lib/Parallel/ForkManager.pm#BLOCKING_CALLS and then try this to see if it helps:
#!/usr/local/bin/perl use strict; use warnings; use Parallel::ForkManager; my $pm = new Parallel::ForkManager(24); $pm->set_waitpid_blocking_sleep(0); ...
In reply to Re^3: Help me beat NodeJS (sleep)
by Mr. Muskrat
in thread Help me beat NodeJS
by rickyw59
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |