diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-17 22:20:01 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-17 22:20:01 +0000 |
commit | d941e17f5d4441ef5ee7192020259ba3a78daa34 (patch) | |
tree | 211a69cfe61fad6cc23964b5023736ceb0bab407 /ace/Synch.h | |
parent | f2a2b99b5de1f6d03bd58fc90a2b167a39147111 (diff) | |
download | ATCD-d941e17f5d4441ef5ee7192020259ba3a78daa34.tar.gz |
ChangeLogTag:Tue Aug 17 17:17:13 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/Synch.h')
-rw-r--r-- | ace/Synch.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ace/Synch.h b/ace/Synch.h index 63bdd85b1d9..c03e3c2bce4 100644 --- a/ace/Synch.h +++ b/ace/Synch.h @@ -1187,6 +1187,27 @@ private: }; #endif /* ACE_USES_OBSOLETE_GUARD_CLASSES */ +class ACE_Export ACE_Condition_Attributes +{ +public: + ACE_Condition_Attributes (int type = ACE_DEFAULT_SYNCH_TYPE); + // Constructor + + ~ACE_Condition_Attributes (void); + // Destructor + +private: + friend class ACE_Condition_Thread_Mutex; + + ACE_condattr_t attributes_; + // The attributes + +private: + // = Prevent assignment and initialization. + void operator= (const ACE_Condition_Attributes &); + ACE_Condition_Attributes (const ACE_Condition_Attributes &); +}; + class ACE_Export ACE_Condition_Thread_Mutex { // = TITLE @@ -1214,6 +1235,12 @@ public: void *arg = 0); // Initialize the condition variable. + ACE_Condition_Thread_Mutex (const ACE_Thread_Mutex &m, + ACE_Condition_Attributes &attributes, + LPCTSTR name = 0, + void *arg = 0); + // Initialize the condition variable. + ~ACE_Condition_Thread_Mutex (void); // Implicitly destroy the condition variable. |