httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: Getting pool associated with current thread/child
Date Sun, 08 Feb 2009 01:47:49 GMT
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).

Regards,
Graham
--

Mime
View raw message