summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-28 19:58:45 +0000
committerharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-28 19:58:45 +0000
commit451d42039c68b4ec59ee698b1d9fcf8ca382b07a (patch)
treecf5fff50bff32529a0812297c405f7b3f70d18e5
parent5e39b74c3bf1739e08286d6bfd082e387333b2de (diff)
downloadATCD-451d42039c68b4ec59ee698b1d9fcf8ca382b07a.tar.gz
Fixed a few random bugs with ACE_event_t
-rw-r--r--ace/OS.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/ace/OS.h b/ace/OS.h
index ddfc75b0c12..73213a5ee63 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -776,12 +776,17 @@ struct ACE_cond_t
#if defined (VXWORKS)
ACE_sema_t waiters_done_;
-#else
- ACE_event_t waiters_done_;
-#endif /* VXWORKS */
+ // A semaphore used by the broadcast/signal thread to wait
+ // for the waiting thread(s) to wake up and get a chance at the
+ // semaphore.
+#elif defined (ACE_WIN32)
+ HANDLE waiters_done_;
// An auto reset event used by the broadcast/signal thread to wait
// for the waiting thread(s) to wake up and get a chance at the
// semaphore.
+#else
+#error "SOMEONE FIX ME!"
+#endif /* VXWORKS */
size_t was_broadcast_;
// Keeps track of whether we were broadcasting or just signaling.