diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-04-18 23:38:26 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-04-18 23:38:26 +0000 |
commit | b3bdf62e5b986f230a04c30a515790de24a4fa94 (patch) | |
tree | 9c28ea0c045a36ad800fd550335b75a22779bf7e /ace/Synch.h | |
parent | 0a44df43be40f0d75d739ec8120e4707644b9ffd (diff) | |
download | ATCD-b3bdf62e5b986f230a04c30a515790de24a4fa94.tar.gz |
ChangeLogTag:Tue Apr 18 15:18:53 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Synch.h')
-rw-r--r-- | ace/Synch.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/Synch.h b/ace/Synch.h index 6bb3ca2267c..91bc87620da 100644 --- a/ace/Synch.h +++ b/ace/Synch.h @@ -532,7 +532,7 @@ class ACE_Export ACE_Mutex public: ACE_Mutex (int type = USYNC_THREAD, LPCTSTR name = 0, - void *arg = 0); + ACE_mutexattr_t *arg = 0); // Initialize the mutex. ~ACE_Mutex (void); @@ -1078,11 +1078,13 @@ class ACE_Export ACE_Thread_Mutex // ACE_Thread_Mutex is recursive on some platforms (like // Win32). However, on most platforms (like Solaris) it is not // recursive. To be totally safe and portable, developers - // should use ACE_Recursive_Thread_Mutex when they need a + // should use <ACE_Recursive_Thread_Mutex> when they need a // recursive mutex. friend class ACE_Condition_Thread_Mutex; public: - ACE_Thread_Mutex (LPCTSTR name = 0, void *arg = 0); + ACE_Thread_Mutex (LPCTSTR name = 0, + ACE_mutexattr_t *attributes = 0); + // Constructor. ~ACE_Thread_Mutex (void); // Implicitly destroy the mutex. @@ -1332,7 +1334,7 @@ class ACE_Export ACE_Recursive_Thread_Mutex // release of a mutex that occurs in the same thread. public: ACE_Recursive_Thread_Mutex (LPCTSTR name = 0, - void *arg = 0); + ACE_mutexattr_t *arg = 0); // Initialize a recursive mutex. ~ACE_Recursive_Thread_Mutex (void); |