httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hyde <>
Subject RE: [PATCH] Serialize the update to pool.sub_* in destroy_pool
Date Mon, 15 Dec 1997 22:22:07 GMT
On Monday, December 15, 1997 Dean Gaudet wrote:
> On Mon, 15 Dec 1997, Ben Hyde wrote:
> >  Dean Gaudet wrote:
> In clear_pool()
> would need to be serialized as well...  I think that's it.

I'll revise the patch.  The users of clear_pool make one think.

> > ... block allocation ...
> We can fix that one too,...

In second round.  A {create,suspend,distroy}_thread that returns
something with heap in it
is probably approprate.  That would get the thread unwind right.  If
mutex were cheap it 
wouldn't be worth defending the block allocate from them.

> > ..lighter weight acquire_mutex.

InitializeCriticalSection et. al. looks good, but I'm too frightened of
this platform for me to dare the edit.

 - ben h.

View raw message