httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <...@apache.org>
Subject Re: Process lifetime and hooks to use
Date Sat, 17 Apr 2010 11:04:42 GMT

On 17 Apr 2010, at 11:33, alin vasile wrote:

> I discovered that it is :)
> 
> Any idea how would I retrieve in this hook the module config structure? It seems it is
not possible, as the only argument in the handler is a apr_pool_t structure.

It's in the parent process, which is single-threaded.  So the usual module rules
go out of the window, and you can use global/static vars in a monitor hook.
They're not shared with the children anyway.

-- 
Nick Kew

Mime
View raw message