From 5ef5ad3390c967520922b99b130ed6339aa3a8d6 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 20 Sep 2002 02:35:51 +0000 Subject: 2002-09-20 Michael Johnson * pthread_cond_destroy.c (pthread_cond_destroy): When two different threads exist, and one is attempting to destroy a condition variable while the other is attempting to initialize a condition variable that was created with PTHREAD_COND_INITIALIZER, a deadlock can occur. Shrink the ptw32_cond_list_lock critical section to fix it. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 16a9fa3..15aa349 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2002-09-20 Michael Johnson + + * pthread_cond_destroy.c (pthread_cond_destroy): + When two different threads exist, and one is attempting to + destroy a condition variable while the other is attempting to + initialize a condition variable that was created with + PTHREAD_COND_INITIALIZER, a deadlock can occur. Shrink + the ptw32_cond_list_lock critical section to fix it. + 2002-07-31 Ross Johnson * ptw32_threadStart.c (ptw32_threadStart): Thread cancelLock -- cgit v1.2.3