View Single Post

  #2 (permalink)  
Old 08-30-2005
Nick Kew
 
Posts: n/a
Default Re: singal get lost while shuting down Apache

steingold@gmail.com wrote:
> Hi everyone.
> I'm developing an Apache 2.0.52 module that executed on Linux
> 2.4.9-e.3smp.
> The module starts a new thread for each child process that does some
> work


Apache uses APR threads. Running threads other than through APR in
your module is going to need lots of care (on linux, APR threads are
implemented using pthreads).

> and then waits on a condition variable for a signal. The signal is


What signal? Not one of the signals Apache uses itself?

> I'd be glad if someone could help me with ideas how to signal the
> waiting thread, or find another way to kill it.


Use APR threads. Get cross-platform portability for free!

--
Nick Kew