Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 35464 invoked from network); 30 Aug 2004 14:36:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Aug 2004 14:36:08 -0000 Received: (qmail 84925 invoked by uid 500); 30 Aug 2004 14:36:03 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 84860 invoked by uid 500); 30 Aug 2004 14:36:01 -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 84840 invoked by uid 99); 30 Aug 2004 14:36:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <41333B2A.2000004@wstoddard.com> Date: Mon, 30 Aug 2004 10:35:22 -0400 From: Bill Stoddard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Keppler CC: dev@apr.apache.org Subject: Re: [PATCH] RESEND: fixing condvar bug under WIN32 References: <4130B99F.9010202@informatik.stud.uni-erlangen.de> In-Reply-To: <4130B99F.9010202@informatik.stud.uni-erlangen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Klaus Keppler wrote: > Hello! > > As I already mentioned many many many weeks ago, the implementation > of condition variables under WIN32 has at least one nasty bug which > may lead to a deadlock > (see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27654) > > In my application which uses APR I really *do* experience this > deadlock unless I apply the patch (see attachment) to > locks/win32/thread_cond.c Cliff, The apr_thread_cond code in Windows is pretty crufty stuff. I'm going to try to find some time to do a rewrite. If I'm not done by the time your ready to roll 1.01, then commit Klaus' patch. Bill