![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: How to pass sockets to different threads?by bl0rf (Pilgrim) |
on Dec 31, 2003 at 00:46 UTC ( #317811=note: print w/replies, xml ) | Need Help?? |
I remember reading in Apache's docs that it preforks several children, has them all try to lock onto a semaphore - the one that succeeds takes a connection and another one child takes its place as listener. If you really need Select functionality I also suggest forking and having a separate IO::Select object for each child ( as you can see I've gone fork hyper ).
In Section
Seekers of Perl Wisdom
|
|