httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: [PATCH] get threaded MPM to terminate
Date Wed, 25 Apr 2001 04:49:09 GMT

I now have a patch that compiles cleanly, and should completely remove the
pipe_of_death.  The basic idea is that everything is done through signals,
using the SIGWAIT logic.  As for waking threads up from apr_poll, that is
done by connecting to the socket from the server itself, and then
immediately closing the socket.

This is completely untested, and I am too tired of looking at computers to
continue.  I will test the patch tomorrow and hopefully post tomorrow.
This should solve all the problems discussed today.

The idea for the patch came in a conversation with Greg Ames earlier
today, so he deserves the share the credit for the patch.  :-)

Ryan

On 24 Apr 2001, Jeff Trawick wrote:

> "Bill Stoddard" <bill@wstoddard.com> writes:
>
> > I believe Ryan is right here...
>
> I agree that there is no race condition.  I don't agree with the
> desire to keep it out of the scoreboard but I suspect all that will
> change anyway :)
>
> I'll trim the patch down to just writing to the pipe of death.
>
> --
> Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
>        http://www.geocities.com/SiliconValley/Park/9289/
>              Born in Roswell... married an alien...
>
>


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message