httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saju Pillai <saju.pil...@gmail.com>
Subject Re: child_init for threads?
Date Thu, 19 Mar 2009 05:11:10 GMT
Andrej van der Zee wrote:
> Hi,
> 
> Thanks.
> 
>> Yes. create_connection() is the first hook run as part of request
>> processing, a delay in create_connection() will result in a delay in HTTP
>> processing.
>>
> 
> That's too bad. I guess I have to hack this into the MPM then.
> 
> One more question, what would be the way to store thread-specific data
> that is to be re-used across HTTP requests? Is there an example where
> this is done before?

Look at apr_thread_proc.h
apr_threadkey_private_*()

Can't find usage examples in my (old) version of the httpd src tree.

srp
-- 
http://saju.net.in

Mime
View raw message