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" <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED] | PGP public key at web site:
> http://www.geocities.com/SiliconValley/Park/9289/
> Born in Roswell... married an alien...
>
>
_______________________________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------