httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joseph Chen <joseph.yx.c...@gmail.com>
Subject Function for child_init_hook being called more than one times?
Date Mon, 14 Dec 2009 08:03:28 GMT
Hi,

Can someoen there tell me why my callback routine registred with
"ap_hook_child_init()" is being called multiple times during httpd-2.2
running?

I am a newbie to develope a my own module for apache-2.2.  Within my
module, I want to run a new thread for listening a socket port.  I
create a new thread within the callback routine for
"ap_hook_chile_init()" but this multiple-calling causes too many
threads being created.

How should I prevent this behavor?

Thanks,

--Joe

Mime
View raw message