Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 54207 invoked by uid 500); 14 Jul 2001 20:18:28 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 54196 invoked from network); 14 Jul 2001 20:18:28 -0000 Date: Sat, 14 Jul 2001 13:18:04 -0700 From: Justin Erenkrantz To: new-httpd@apache.org Subject: Re: Terminiting threads in a process RE: [PATCH] Problems with MPM threaded Message-ID: <20010714131804.Y14852@ebuilt.com> References: <20010714122705.W14852@ebuilt.com> <20010714124951.E23346@ebuilt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010714124951.E23346@ebuilt.com>; from aaron@ebuilt.com on Sat, Jul 14, 2001 at 12:49:51PM -0700 X-AntiVirus: scanned for viruses by AMaViS 0.2.1-pre3 (http://amavis.org/) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Sat, Jul 14, 2001 at 12:49:51PM -0700, Aaron Bannert wrote: > Doesn't pthread_mutex_acquire sit in sem_wait() or sigwait()? That'll > let it be cancel()ed. Nope. As I posted earlier, man cancellation on Solaris 8 says: A mutex is explicitly not a cancellation point and should be held for only the minimal essential time. pthread_cancel wouldn't work. And as Ryan pointed out, it is bad to try and forcibly kill a thread. -- justin