summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index a43d9feb5..98c4a0b53 100644
--- a/winsup/cygwin/thread.h
+++ b/winsup/cygwin/thread.h
@@ -290,6 +290,8 @@ public:
int shared;
LONG waiting;
pthread_mutex *mutex;
+ /* to allow atomic behaviour for cond_broadcast */
+ pthread_mutex_t cond_access;
HANDLE win32_obj_id;
int TimedWait (DWORD dwMilliseconds);
void BroadCast ();