httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: Getting pool associated with current thread/child
Date Sun, 08 Feb 2009 07:06:52 GMT
Graham Leggett wrote:
> Brian McCallister wrote:
> 
>> So, in mod_lua I need to get the apr pool associated with the current
>> thread (that being the main thread if in prefork).
> 
> What about the process_rec structure?
> 
> In other words, r->server->process->pool?
> 
> (Not sure if this is what you are looking for, but a quick glance at the
> headers would suggest it probably does).

that isn't thread safe to allocate from is it?

AFAIK, that is just set once when the process record is created, and not
set or created per thread....

Mime
View raw message