// $Id$ #include "ace/RW_Process_Mutex.h" #include "ace/Log_Msg.h" ACE_RCSID(ace, RW_Process_Mutex, "$Id$") #if !defined (__ACE_INLINE__) #include "ace/RW_Process_Mutex.inl" #endif /* __ACE_INLINE__ */ ACE_ALLOC_HOOK_DEFINE(ACE_RW_Process_Mutex) ACE_RW_Process_Mutex::ACE_RW_Process_Mutex (const ACE_TCHAR *name, int flags) : lock_ (name, flags #if defined (ACE_WIN32) ,ACE_DEFAULT_OPEN_PERMS) #else , S_IRUSR | S_IWUSR) #endif /* ACE_WIN32 */ { // ACE_TRACE ("ACE_RW_Process_Mutex::ACE_RW_Process_Mutex"); } ACE_RW_Process_Mutex::~ACE_RW_Process_Mutex (void) { // ACE_TRACE ("ACE_RW_Process_Mutex::~ACE_RW_Process_Mutex"); } void ACE_RW_Process_Mutex::dump (void) const { // ACE_TRACE ("ACE_RW_Process_Mutex::dump"); ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); this->lock_.dump (); ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); } // // These are instantiated both with and without ACE_HAS_THREADS. // #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) // template class ACE_Guard; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) // #pragma instantiate ACE_Guard #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */