httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Creating a new thread inside a module
Date Wed, 01 Jul 2009 16:14:22 GMT
h iroshan wrote:
> 
> Hi William and Mladen,
> 
> Thanks both of you but i am still struggling  with my thread creation. I
> create my background thread inside  the balancer_init method at
> mod_proxy_balancer module. But after finished the execution of
> balancer_init method my thread also terminate automatically please help me

Watch which pool you create the thread in.  Also your thread can terminate
whenever it wants to return; - it's up to your code to keep itself alive.

Mime
View raw message