httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <>
Subject RE: cvs commit: httpd-2.0/server/mpm/worker pod.c pod.h mpm.h worker.c
Date Mon, 11 Feb 2002 04:57:53 GMT
>   Modified:    .        CHANGES
>                server/mpm/worker mpm.h worker.c
>   Added:       server/mpm/worker pod.c pod.h
>   Log:
>   Remove all signal handling from the worker MPM's child processes.
> Instead,
>   we use the pipe of death for all communication between parent and

I added the new pod.[ch] files so that other MPMs could continue to use
the current functions.  Long-term, we probably want to combine the

Also, this was tested on Linux, so graceful seems to work.
Unfortunately, graceless doesn't work any better than it used to,
because Linux doesn't kill threads if the main thread in the process
dies.  I know how to fix it, but it will require using pthread_cancel,
which we have always avoided in the past.  I want to stress that this is
the same behavior we were getting before this change.

Tomorrow I will code the pthread_cancel stuff and post a patch for
review.  I am assuming that using pthread_cancel will generate some
discussion.  :-)


View raw message