Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 17156 invoked from network); 2 Apr 2005 19:42:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Apr 2005 19:42:18 -0000 Received: (qmail 90114 invoked by uid 500); 2 Apr 2005 19:42:06 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 90079 invoked by uid 500); 2 Apr 2005 19:42:05 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 90065 invoked by uid 99); 2 Apr 2005 19:42:05 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from elephant.cnchost.com (HELO elephant.cnchost.com) (207.155.252.97) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 02 Apr 2005 11:42:04 -0800 Received: from rcsv650.rowe-clan.net (c-24-13-128-132.hsd1.il.comcast.net [24.13.128.132]) by elephant.cnchost.com id OAA29116; Sat, 2 Apr 2005 14:42:02 -0500 (EST) [ConcentricHost SMTP Relay 1.17] Errors-To: Message-Id: <6.2.1.2.2.20050402125312.062fe8f0@pop3.rowe-clan.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Sat, 02 Apr 2005 12:54:37 -0600 To: dev@httpd.apache.org From: "William A. Rowe, Jr." Subject: Re: [1.3 PATCH] Win32 RewriteLog deadlock Cc: dev@httpd.apache.org In-Reply-To: References: <1404e5910504010716389dd7da@mail.gmail.com> <6.2.1.2.2.20050401131607.04273090@pop3.rowe-clan.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N At 05:45 AM 4/2/2005, Jeff Trawick wrote: >On Apr 1, 2005 2:17 PM, William A. Rowe, Jr. wrote: >> At 09:16 AM 4/1/2005, Eric Covener wrote: > >> >Attempt at a patch using CriticalSection instead of _locking() is >> >attached, but I am by no means a win32 person -- hopefully someone can >> >take a look. >> >> However, it will break Windows 9x/ME so, for 1.3, we need at least >> some detection to decide if we use this solution. > >I don't have a Win9x box any more to test, but doc says this > >Requirements >Client Requires Windows XP, Windows 2000 Professional, Windows NT >Workstation, Windows Me, Windows 98, or Windows 95. >Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server. Doh!!! TryEnterCriticalSection() is the NT specific API I was thinking about. If this is a blocking EnterCriticalSection(), there is no Win32 version issue. Bill