Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 73207 invoked by uid 500); 24 Feb 2003 08:17:33 -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 73080 invoked from network); 24 Feb 2003 08:17:32 -0000 Date: Mon, 24 Feb 2003 17:17:41 +0900 (JST) Message-Id: <20030224.171741.78701809.inoue@ariel-networks.com> To: dev@apr.apache.org Subject: [PATCH] locks/win32/thread_cond.c From: INOUE Seiichiro X-Mailer: Mew version 2.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, This is a simple patch as follows. This is fixed by OHTANI Hiroki . Index: thread_cond.c =================================================================== RCS file: /home/cvspublic/apr/locks/win32/thread_cond.c,v retrieving revision 1.11 diff -u -r1.11 thread_cond.c --- thread_cond.c 6 Jan 2003 23:44:31 -0000 1.11 +++ thread_cond.c 24 Feb 2003 08:10:18 -0000 @@ -144,6 +144,7 @@ ReleaseMutex(cond->mutex); if (res == WAIT_TIMEOUT) { rv = APR_TIMEUP; + apr_thread_mutex_lock(mutex); } return rv; } Thanks. - INOUE Seiichiro