httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: No processes left after big AB test
Date Wed, 11 Apr 2001 22:54:12 GMT
rbb@covalent.net wrote:
> 
> A few of us spoke about this bug at ApacheCon.  Our idea was to change
> APR, so that APR provides a function make a thread wait for signals.  If
> the program wants to do that in a separate thread, then it can just create
> a thread and make that function the starting function.  Otherwise, the
> main thread just becomes the signal thread.  The patch should be
> relatively easy to create, because it is more ripping out code than
> writing new.
> 

Sounds good.  It feels much better/safer to have all the worker threads
at the same level in the hierarchy.  That leave the main thread with
nothing to do, so it might as well morph itself into the signal thread. 
apr_create_signal_thread can just disappear.

Greg

Mime
View raw message