httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: Need access to apr_sigwait from threaded mpm.
Date Fri, 13 Apr 2001 18:35:51 GMT
On Fri, 13 Apr 2001, Paul J. Reder wrote:

> Ryan,
> Sorry, I missed your commit. The commit you made to the threaded mpm is
> insufficient. I tested that level of fix (not identical, but close). This
> still allows the main child_main process to exit (with signal from
> perform_idle_server_maintenance) and leave orphaned threads.

The problem is with the signal handling function.  The function we are
using right now is insufficient.  We need to have that function make sure
that ensure that all other threads have died.  Currently, it just
basically exits, which is wrong.


> I am currently testing a fix that creates the threads as joinable and then
> after a received signal the child_main process joins to each of the threads
> to make sure they are all gone before it exits. Unless there is some concern
> with this I will commit this extension to your work after I have finished
> testing it.
> --
> Paul J. Reder
> -----------------------------------------------------------
> "The strength of the Constitution lies entirely in the determination of each
> citizen to defend it.  Only if every single citizen feels duty bound to do
> his share in this defense are the constitutional rights secure."
> -- Albert Einstein

Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message