http://www.perlmonks.org?node_id=422238


in reply to Re: Thread::Queue and objects
in thread Thread::Queue and objects

What is the problem you are encountering with the current method?

Suppose you run it on a very busy machine: even if short, the amount of time that passes from a timeouted accept and the new accept call could be long enough that a client tries to connect in between and finds nothing accepting on the socket. Not good...

--bronto


In theory, there is no difference between theory and practice. In practice, there is.