Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Thread creation failed: pthread_create returned 11 (races, leaks)by kamrul (Acolyte) |
on Aug 11, 2015 at 16:39 UTC ( [id://1138199]=note: print w/replies, xml ) | Need Help?? |
Based on what you said, it seems those threads take a bit of time to get created. In that case, will it be more efficient if I keep 4 running threads and pass the messages to the threads using a queue; rather than creating new threads every time ?
In Section
Seekers of Perl Wisdom
|
|