1 #include "ace/RW_Process_Mutex.h"
2 #include "ace/Log_Category.h"
5 #if !defined (__ACE_INLINE__)
6 #include "ace/RW_Process_Mutex.inl"
7 #endif /* __ACE_INLINE__ */
9 #include "ace/Malloc_T.h"
11 #if defined (ACE_WIN32)
12 #include "ace/OS_NS_fcntl.h"
13 #endif /* ACE_WIN32 */
15 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
17 ACE_ALLOC_HOOK_DEFINE(ACE_RW_Process_Mutex
)
20 ACE_RW_Process_Mutex::unique_name ()
22 ACE::unique_name (this, this->name_
, ACE_UNIQUE_NAME_LEN
);
26 ACE_RW_Process_Mutex::ACE_RW_Process_Mutex (const ACE_TCHAR
*name
,
29 : lock_ (name
? name
: unique_name (), flags
, mode
)
31 // ACE_TRACE ("ACE_RW_Process_Mutex::ACE_RW_Process_Mutex");
34 ACE_RW_Process_Mutex::~ACE_RW_Process_Mutex ()
36 // ACE_TRACE ("ACE_RW_Process_Mutex::~ACE_RW_Process_Mutex");
40 ACE_RW_Process_Mutex::dump () const
42 #if defined (ACE_HAS_DUMP)
43 // ACE_TRACE ("ACE_RW_Process_Mutex::dump");
44 ACELIB_DEBUG ((LM_DEBUG
, ACE_BEGIN_DUMP
, this));
46 ACELIB_DEBUG ((LM_DEBUG
, ACE_END_DUMP
));
47 #endif /* ACE_HAS_DUMP */
50 ACE_END_VERSIONED_NAMESPACE_DECL