On Tue, Mar 05, 2002 at 07:02:46PM -0500, Jeff Trawick wrote:
> > Will they actually hold the semaphore while they are servicing long-lived
> > connections?
> 
> no... the semaphore is held only during the poll+accept
> 
> >               I guess we'd have to make it so that as soon as that worker*
> > is done with that connection it checks to see if it is time to quit w/o
> > hitting the semaphore again.  Would that work?
> 
> Current code doesn't try to obtain the semaphore again if it is time
> to go away.

In that case, the mutex error is completely valid and we should be
considering why the listener thread has not escaped from the accept loop
when the POD told it to do so.

-aaron

Reply via email to