httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <>
Subject Re: module and threads
Date Tue, 26 Nov 2002 13:31:01 GMT
Jeff Trawick wrote:
> Henri Gomez <> writes:
>>The module should create some threads at startup time,
>>these threads will handle dbm and IO operations and
>>they should be kept running after the module initialisation.
>>Also I'll need to access some of these threads information
>>when the module will be called (via some specials URIs),
>>and wonder if the datas created at init time will be still
> yes it will still be available, assuming you use the right pool...
> look at post_config hook for allocating global resources and
> child_init hook for allocating per-child-process resources
> the pool passed to either of these functions will almost always have
> the lifetime you need

Great !

Did there is today a module in Apache 2.0 which use this kind
of use of threads ?


View raw message