From b3bdf62e5b986f230a04c30a515790de24a4fa94 Mon Sep 17 00:00:00 2001 From: schmidt Date: Tue, 18 Apr 2000 23:38:26 +0000 Subject: ChangeLogTag:Tue Apr 18 15:18:53 2000 Douglas C. Schmidt --- ace/Synch.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ace/Synch.h') 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 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); -- cgit v1.2.1