GitHub Actions: Try MSVC builds with /std:c++17 and 20
[ACE_TAO.git] / ACE / ace / RW_Thread_Mutex.cpp
blobcffcc8d4e32940b48a58773e81e18bcdd4df32e7
1 /**
2 * @file RW_Thread_Mutex.cpp
4 * Originally in Synch.cpp
6 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
7 */
9 #include "ace/RW_Thread_Mutex.h"
11 #if defined (ACE_HAS_THREADS)
13 #if defined (ACE_HAS_ALLOC_HOOKS)
14 # include "ace/Malloc_Base.h"
15 #endif /* ACE_HAS_ALLOC_HOOKS */
17 #if !defined (__ACE_INLINE__)
18 #include "ace/RW_Thread_Mutex.inl"
19 #endif /* __ACE_INLINE__ */
21 #include "ace/Guard_T.h"
25 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
27 ACE_ALLOC_HOOK_DEFINE(ACE_RW_Thread_Mutex)
29 ACE_RW_Thread_Mutex::ACE_RW_Thread_Mutex (const ACE_TCHAR *name,
30 void *arg)
31 : ACE_RW_Mutex (USYNC_THREAD, name, arg)
33 // ACE_TRACE ("ACE_RW_Thread_Mutex::ACE_RW_Thread_Mutex");
36 void
37 ACE_RW_Thread_Mutex::dump (void) const
39 #if defined (ACE_HAS_DUMP)
40 // ACE_TRACE ("ACE_RW_Thread_Mutex::dump");
41 ACE_RW_Mutex::dump ();
42 #endif /* ACE_HAS_DUMP */
45 ACE_END_VERSIONED_NAMESPACE_DECL
47 #endif /* ACE_HAS_THREADS */