child_init for threads?

2009-03-17 Thread Andrej van der Zee
Hi, I was wondering if there is an analogue hook like child_init() for threads that I can use for doing some time-consuming thread-initialisation that should not slow down an HTTP request handler. More specific, I want to initialise some per-thread variables that come from a database. Does the

Re: child_init for threads?

2009-03-17 Thread Sorin Manolache
On Tue, Mar 17, 2009 at 13:23, Andrej van der Zee andrejvander...@gmail.com wrote: Hi, I was wondering if there is an analogue hook like child_init() for threads that I can use for doing some time-consuming thread-initialisation that should not slow down an HTTP request handler. More

start httpd with one child for debugging

2009-03-17 Thread Andrej van der Zee
Hi, I believe I read some while ago that it is possible to start httpd with only one child (a special for debugging httpd). I am not able to find this option anymore. Does such an option really exist? Thank you, Andrej

Re: start httpd with one child for debugging

2009-03-17 Thread Eric Covener
On Tue, Mar 17, 2009 at 7:50 PM, Andrej van der Zee andrejvander...@gmail.com wrote: Hi, I believe I read some while ago that it is possible to start httpd with only one child (a special for debugging httpd). I am not able to find this option anymore. Does such an option really exist? Thank

Re: How to find out which MPM process model?

2009-03-17 Thread William A. Rowe, Jr.
Andrej van der Zee wrote: Hi, I am looking for a way to find out if I need to set thread-based mutexes in case of MPM worker. ap_mpm_query