Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hotmail.com>2001-12-26 15:46:26 +0300
committerRobert Collins <rbtcollins@hotmail.com>2001-12-26 15:46:26 +0300
commitcbce49804fb7826fa532e0e4ddc2436fa3374a2b (patch)
tree2096127d6f9a722d57764b32982a2354714100fa /winsup/cygwin/thread.h
parent7a0252e203269091e183a83a98aa1d5b63d46984 (diff)
2001-12-26 Robert Collins <rbtcollins@hotmail.com>
* 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.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h1
1 files changed, 1 insertions, 0 deletions
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;