httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <...@apache.org>
Subject Re: Signal-safe way to start a worker thread in each child process?
Date Tue, 02 Jun 2015 20:20:49 GMT
On Tue, 02 Jun 2015 14:15:18 -0500
Jacob Champion <jacob.champion@ni.com> wrote:

> We could just call apr_setup_signal_thread() ourselves -- and doing that
> does fix the problem -- but that means that modules which are
> initialized after us will get the global protection too, which doesn't
> feel clean. So, a few questions:

I don't know a clean answer: it's not a problem I've ever tackled.
But if you don't find a better solution, you can improve a little
on your existing one by running your child_init after other modules
have done theirs with APR_HOOK_LAST.

-- 
Nick Kew

Mime
View raw message