httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: Need access to apr_sigwait from threaded mpm.
Date Fri, 13 Apr 2001 20:56:06 GMT
I have not reviewed Paul's patch but he and I have discussed it and I am +1 on concept.
Having the main thread join the workers at shutdown ensures that the main thread will not
exit before all the workers have exited.  Not unlike what I am doing in the windows mpm
with waitformultipleobject.

Our policy is commit the review.

Bill

----- Original Message -----
From: "William A. Rowe, Jr." <admin@rowe-clan.net>
To: <new-httpd@apache.org>
Sent: Friday, April 13, 2001 1:55 PM
Subject: Re: Need access to apr_sigwait from threaded mpm.


> Please don't commit first.  Could you describe the API so I can ensure that
> other non-unix threading implemenations could perform some similar strucutre?
> I may need to introduce some unix no-ops that have an effect on win/netware.
>
> ----- Original Message -----
> From: "Paul J. Reder" <rederpj@raleigh.ibm.com>
> To: <new-httpd@apache.org>
> Sent: Friday, April 13, 2001 11:19 AM
> Subject: Re: Need access to apr_sigwait from threaded mpm.
>
>
> > 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.
> >
> > 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
> >
>


Mime
View raw message