You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1998/01/13 06:20:50 UTC
thread-specific child init?
the current child init is only run once per process, not per thread,
right?
What if I want something run for each thread that is created?
Re: thread-specific child init?
Posted by Dean Gaudet <dg...@arctic.org>.
No I was serious... I suggested a thread_init phase when child_init went
in. It's already in my process model proposal.
Dean
On Mon, 12 Jan 1998, Alexei Kosut wrote:
> On Mon, 12 Jan 1998, Dean Gaudet wrote:
>
> > Quick add another API phase... it's definately an important one.
>
> The way that the Win32 code currently does its threading, I'm not sure if
> this would be generally usable. I suspect that 1.3 can live without this,
> though for 2.0, when we figure out the process model stuff, we should
> definitely tack this onto our list of phases, though in a manner which
> works gracefully no matter what model Apache is using at the moment - when
> I finally get around to writing up all of my 2.0 API plans, a way of doing
> this should hopefully be easy within that framework.
>
> Or were you being sarcastic? I can't tell.
>
> -- Alexei Kosut <ak...@stanford.edu> <http://www.stanford.edu/~akosut/>
> Stanford University, Class of 2001 * Apache <http://www.apache.org> *
>
>
>
Re: thread-specific child init?
Posted by Alexei Kosut <ak...@leland.Stanford.EDU>.
On Mon, 12 Jan 1998, Dean Gaudet wrote:
> Quick add another API phase... it's definately an important one.
The way that the Win32 code currently does its threading, I'm not sure if
this would be generally usable. I suspect that 1.3 can live without this,
though for 2.0, when we figure out the process model stuff, we should
definitely tack this onto our list of phases, though in a manner which
works gracefully no matter what model Apache is using at the moment - when
I finally get around to writing up all of my 2.0 API plans, a way of doing
this should hopefully be easy within that framework.
Or were you being sarcastic? I can't tell.
-- Alexei Kosut <ak...@stanford.edu> <http://www.stanford.edu/~akosut/>
Stanford University, Class of 2001 * Apache <http://www.apache.org> *
Re: thread-specific child init?
Posted by Dean Gaudet <dg...@arctic.org>.
Quick add another API phase... it's definately an important one.
Dean
On Mon, 12 Jan 1998, Marc Slemko wrote:
> the current child init is only run once per process, not per thread,
> right?
>
> What if I want something run for each thread that is created?
>
>