Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 83510 invoked from network); 15 Mar 2004 19:17:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Mar 2004 19:17:40 -0000 Received: (qmail 93850 invoked by uid 500); 15 Mar 2004 19:17:30 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 93815 invoked by uid 500); 15 Mar 2004 19:17:30 -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 93802 invoked from network); 15 Mar 2004 19:17:29 -0000 Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <15A8CFFC-76B5-11D8-83B0-000393B3C494@clove.org> References: <1079376989.4055fc5d6b4fc@webmail.mydomain.com> <15A8CFFC-76B5-11D8-83B0-000393B3C494@clove.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6922E5B4-76B5-11D8-83B0-000393B3C494@clove.org> Content-Transfer-Encoding: 7bit From: Aaron Bannert Subject: Re: testglobalmutex.c Date: Mon, 15 Mar 2004 11:17:33 -0800 To: dev@apr.apache.org X-Mailer: Apple Mail (2.612) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mar 15, 2004, at 11:15 AM, Aaron Bannert wrote: > On Mar 15, 2004, at 10:56 AM, rbb@rkbloom.net wrote: >> Nope. Take a look at the thread that is complaining about the API for >> global_mutex and proc_mutex. Without that global_mutex_create call, >> the program >> segfaults on any Unix machine. This is a bug in the _child_init API, >> because it >> should accept a lockmech_e argument so that the lock can be created >> properly. > > Actually the bug is that the unix implementation of > apr_global_mutex_child_init > assumes the (apr_global_mutex **mutex) is valid, and it shouldn't. Oh hey, look at me, repeating the previous sentence. Maybe I need more sleep. :) -aaron