diff options
Diffstat (limited to 'ace/RW_Process_Mutex.h')
-rw-r--r-- | ace/RW_Process_Mutex.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/ace/RW_Process_Mutex.h b/ace/RW_Process_Mutex.h index a34b6f9f404..cee7a1a6cb5 100644 --- a/ace/RW_Process_Mutex.h +++ b/ace/RW_Process_Mutex.h @@ -1,5 +1,4 @@ -// -*- C++ -*- -// +/* -*- C++ -*- */ //============================================================================= /** * @file RW_Process_Mutex.h @@ -24,8 +23,6 @@ #include "ace/Default_Constants.h" #include "ace/OS_NS_fcntl.h" -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - /** * @class ACE_RW_Process_Mutex * @@ -36,16 +33,16 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * used between separate processes, rather than threads in the * same process. This isn't a limitation of ACE, it's simply * the file lock semantics on UNIX and Win32. - * \todo For systems with pthread_rwlockattr_setpshared one + * \todo For systems with pthread_rwlockattr_setpshared one * may consider using them to make the mutex faster. */ -class ACE_Export ACE_RW_Process_Mutex +class ACE_Threads_Export ACE_RW_Process_Mutex { public: /// Create a readers/writer <Process_Mutex>, passing in the optional - /// <name>, <flags> and <mode> \sa ACE_File_Lock. - /// If not specified, a name is generated and flags and mode are set - /// to default platform values. + /// <name>, <flags> and <mode> \sa ACE_File_Lock. + /// If not specified, a name is generated and flags and mode are set + /// to default platform values. #if defined (ACE_WIN32) ACE_RW_Process_Mutex (const ACE_TCHAR *name = 0, int flags = O_CREAT|O_RDWR, @@ -53,7 +50,7 @@ public: #else ACE_RW_Process_Mutex (const ACE_TCHAR *name = 0, int flags = O_CREAT|O_RDWR, - mode_t mode = S_IRUSR | S_IWUSR ); + mode_t mode = S_IRUSR | S_IWUSR ); #endif /* ACE_WIN32 */ ~ACE_RW_Process_Mutex (void); @@ -123,8 +120,6 @@ private: ACE_File_Lock lock_; }; -ACE_END_VERSIONED_NAMESPACE_DECL - #if defined (__ACE_INLINE__) #include "ace/RW_Process_Mutex.inl" #endif /* __ACE_INLINE__ */ |