Removed ACE_HAS_BSTRING, not used
[ACE_TAO.git] / ACE / ace / Guard_T.cpp
blobdd4f9a2b967c66cb71db794b706a07e59cdd6d5c
1 #ifndef ACE_GUARD_T_CPP
2 #define ACE_GUARD_T_CPP
4 // FUZZ: disable check_for_ACE_Guard
5 #include "ace/Guard_T.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 # pragma once
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
11 #if !defined (__ACE_INLINE__)
12 #include "ace/Guard_T.inl"
13 #endif /* __ACE_INLINE__ */
15 #if defined (ACE_HAS_DUMP)
16 # include "ace/Log_Category.h"
17 #endif /* ACE_HAS_DUMP */
19 // ****************************************************************
21 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
23 // ACE_ALLOC_HOOK_DEFINE(ACE_Guard)
25 template <class ACE_LOCK> void
26 ACE_Guard<ACE_LOCK>::dump (void) const
28 #if defined (ACE_HAS_DUMP)
29 // ACE_TRACE ("ACE_Guard<ACE_LOCK>::dump");
31 ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
32 ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("mutex_ = %x\n"), this->lock_));
33 ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("owner_ = %d\n"), this->owner_));
34 ACELIB_DEBUG ((LM_DEBUG, ACE_END_DUMP));
35 #endif /* ACE_HAS_DUMP */
38 // ACE_ALLOC_HOOK_DEFINE(ACE_Write_Guard)
40 template <class ACE_LOCK> void
41 ACE_Write_Guard<ACE_LOCK>::dump (void) const
43 #if defined (ACE_HAS_DUMP)
44 // ACE_TRACE ("ACE_Write_Guard<ACE_LOCK>::dump");
45 ACE_Guard<ACE_LOCK>::dump ();
46 #endif /* ACE_HAS_DUMP */
49 // ACE_ALLOC_HOOK_DEFINE(ACE_Read_Guard)
51 template <class ACE_LOCK> void
52 ACE_Read_Guard<ACE_LOCK>::dump (void) const
54 // ACE_TRACE ("ACE_Read_Guard<ACE_LOCK>::dump");
55 ACE_Guard<ACE_LOCK>::dump ();
58 ACE_END_VERSIONED_NAMESPACE_DECL
60 #endif /* ACE_GUARD_T_CPP */