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 Mon, 09 Feb 2009 01:15:18 GMT
Brian McCallister wrote:
> On Sun, Feb 8, 2009 at 5:05 PM, Brian McCallister <brianm@skife.org> wrote:
>> On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna <chip@force-elite.com> wrote:
>>
>>> r742218 adds conn_rec::current_thread, and implements support for it on
>>> all the common Unix MPMs.....
>>>
>>> It turns out its really hard to use the request_rec in the MPMs, but yet
>>> again its in trouble of where we draw the lines between MPMs and
>>> everything else.
>> conn_rec is thread safe relative to the request_rec, so has same effect :-)
> 
> Speaking of, what is general policy on breaking modules re non-unix
> stuff? Is there any #define I can make use of to protect non-*nix
> stuff from it until the other mpms support it?

No, but I looked at taking a stab at the winnt MPM, hoping it would be
an easy fix, but it gets complicated because it doesn't have a root pool
for the thread, only a ptrans for the connection, which mean the patch
needs to be more complicated than exposing already created pools.

-Paul

Mime
View raw message