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....

Reply via email to