use strict; use threads; my $num_threads = 0; for(1..257) { my $thr = threads->new(\&threader); $num_threads++; print "$num_threads started\r"; } print "$num_threads running\n"; sleep(); sub threader { sleep(); }
In reply to Re: Re: Re: thread failed to start?
by deadkarma
in thread thread failed to start?
by noslenj123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |