diff options
author | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-28 19:58:45 +0000 |
---|---|---|
committer | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-28 19:58:45 +0000 |
commit | 451d42039c68b4ec59ee698b1d9fcf8ca382b07a (patch) | |
tree | cf5fff50bff32529a0812297c405f7b3f70d18e5 | |
parent | 5e39b74c3bf1739e08286d6bfd082e387333b2de (diff) | |
download | ATCD-451d42039c68b4ec59ee698b1d9fcf8ca382b07a.tar.gz |
Fixed a few random bugs with ACE_event_t
-rw-r--r-- | ace/OS.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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. |