httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <>
Subject Re: converting AP_CHILD_THREAD_FROM_ID into two macros
Date Sat, 29 Sep 2001 15:54:17 GMT
On Sat, Sep 29, 2001 at 08:50:00AM -0700, Ryan Bloom wrote:
> > I have no problem with it being a single integer, it's just that the
> > macro doesn't return anything that is assignable and reusable. We can
> > go so far as to save each half of it in the conn_rec, but the macro is
> > used in some places where conn_rec isn't available.
> Yeah, but that macro is only going to work on c->id, so we know that we can
> get any values from the conn_rec to any function that is currently using the
> macro.

It is actually used a few times in prefork.c, but those uses are unnecessary
(since prefork defines the macro), so yeah we could probably get away with
it just being in the conn_rec. I'll see what I can come up with.


View raw message