From cbce49804fb7826fa532e0e4ddc2436fa3374a2b Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Wed, 26 Dec 2001 12:46:26 +0000 Subject: 2001-12-26 Robert Collins * thread.cc (pthread_cond::Signal): Use a separate flag for signal detection and broadcast semantics. (__pthread_cond_dowait): Ditto. * thread.h (pthread_cond): New flag for testing when a waiter has woken. --- winsup/cygwin/thread.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/thread.h') diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index c1c0e1956..23aaa6860 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -306,6 +306,7 @@ class pthread_cond:public verifyable_object public: int shared; LONG waiting; + LONG ExitingWait; pthread_mutex *mutex; /* to allow atomic behaviour for cond_broadcast */ pthread_mutex_t cond_access; -- cgit v1.2.3