diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-07 19:27:20 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-07 19:27:20 +0000 |
commit | 6c5e451536c343f7759f132ac3f869cd8498ca26 (patch) | |
tree | 038fa9eaf8fda9c690cac36e12fd6d73de2c678b /ace/OS_NS_Thread.h | |
parent | ee988af4f61dbe977611e8f97d67d35580b16d4e (diff) | |
download | ATCD-6c5e451536c343f7759f132ac3f869cd8498ca26.tar.gz |
ChangeLogTag:Wed Jan 7 13:09:27 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'ace/OS_NS_Thread.h')
-rw-r--r-- | ace/OS_NS_Thread.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ace/OS_NS_Thread.h b/ace/OS_NS_Thread.h index 39827f52f41..9cfb60f63e0 100644 --- a/ace/OS_NS_Thread.h +++ b/ace/OS_NS_Thread.h @@ -68,6 +68,7 @@ typedef struct # if defined (ACE_PSOS) +// @@ Note, why is this specially defined for PSOS? // Wrapper for NT events on pSOS. class ACE_Export ACE_event_t { @@ -85,6 +86,16 @@ protected: /// "True" if signaled. int is_signaled_; + /// Special bool for auto_events alone + /** + * The semantics of auto events forces us to introduce this extra + * variable to ensure that the thread is not woken up + * spuriously. Please see event_wait and event_timedwait () to see + * how this is used for auto_events. Theoretically this is a hack + * that needs revisiting after x.4 + */ + bool auto_event_signaled_; + /// Number of waiting threads. u_long waiting_threads_; }; |