Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 14862 invoked by uid 500); 30 Jul 2001 17:52:32 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 14829 invoked from network); 30 Jul 2001 17:52:32 -0000 Date: Mon, 30 Jul 2001 10:52:08 -0700 From: Justin Erenkrantz To: dev@apr.apache.org Subject: Re: cvs commit: apr configure.in Message-ID: <20010730105207.A25818@ebuilt.com> References: <20010730173154.17985.qmail@icarus.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010730173154.17985.qmail@icarus.apache.org>; from trawick@apache.org on Mon, Jul 30, 2001 at 05:31:54PM -0000 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 Mon, Jul 30, 2001 at 05:31:54PM -0000, trawick@apache.org wrote: > trawick 01/07/30 10:31:54 > > Modified: . configure.in > Log: > if your system has pthread_mutexattr_setrobust_np()* we'll use it, but > we shouldn't require it in order to support cross process pthread mutexes > > (i.e., Solaris) The issue is that if you don't have robust cross process mutex, you may get into a condition where you have a bad mutex sticking around (say after a child that holds the mutex SEGVs). Bad things start to happen then. If we have robust, we definitely want to use it. I'm not sure whether we want to use pthread_mutex_t for cross process if we don't have some form of robust locking. (Solaris's setrobust_np is non-portable - as the name implies - does AIX have something similar? Is it the default behavior?) -- justin