httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <>
Subject Re: cvs commit: httpd-2.0/server/mpm/worker worker.c
Date Wed, 06 Mar 2002 00:22:06 GMT
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.


View raw message