Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 22462 invoked by uid 6000); 15 Dec 1997 22:20:07 -0000 Received: (qmail 22456 invoked from network); 15 Dec 1997 22:20:06 -0000 Received: from gengw.gensym.com (HELO gensym-nt2.gensym.com) (192.156.185.33) by taz.hyperreal.org with SMTP; 15 Dec 1997 22:20:06 -0000 Received: by gensym-nt2.gensym.com with Internet Mail Service (5.0.1458.49) id ; Mon, 15 Dec 1997 17:22:09 -0500 Message-ID: From: Ben Hyde To: "'new-httpd@apache.org'" Subject: RE: [PATCH] Serialize the update to pool.sub_* in destroy_pool Date: Mon, 15 Dec 1997 17:22:07 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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.