Initial Patch of Auction House bot rev. 135
[auctionmangos.git] / dep / ACE_wrappers / ace / Guard_T.cpp
bloba21fc2e2fc7a6ee97e712e6c3c11fecc8080682b
1 // $Id: Guard_T.cpp 80826 2008-03-04 14:51:23Z wotte $
3 #ifndef ACE_GUARD_T_CPP
4 #define ACE_GUARD_T_CPP
6 #include "ace/Guard_T.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
9 # pragma once
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
12 #if !defined (__ACE_INLINE__)
13 #include "ace/Guard_T.inl"
14 #endif /* __ACE_INLINE__ */
16 #if defined (ACE_HAS_DUMP)
17 # include "ace/Log_Msg.h"
18 #endif /* ACE_HAS_DUMP */
20 // ****************************************************************
22 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
24 // ACE_ALLOC_HOOK_DEFINE(ACE_Guard)
26 template <class ACE_LOCK> void
27 ACE_Guard<ACE_LOCK>::dump (void) const
29 #if defined (ACE_HAS_DUMP)
30 // ACE_TRACE ("ACE_Guard<ACE_LOCK>::dump");
32 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
33 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("mutex_ = %x\n"), this->lock_));
34 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("owner_ = %d\n"), this->owner_));
35 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
36 #endif /* ACE_HAS_DUMP */
39 // ACE_ALLOC_HOOK_DEFINE(ACE_Write_Guard)
41 template <class ACE_LOCK> void
42 ACE_Write_Guard<ACE_LOCK>::dump (void) const
44 #if defined (ACE_HAS_DUMP)
45 // ACE_TRACE ("ACE_Write_Guard<ACE_LOCK>::dump");
46 ACE_Guard<ACE_LOCK>::dump ();
47 #endif /* ACE_HAS_DUMP */
50 // ACE_ALLOC_HOOK_DEFINE(ACE_Read_Guard)
52 template <class ACE_LOCK> void
53 ACE_Read_Guard<ACE_LOCK>::dump (void) const
55 // ACE_TRACE ("ACE_Read_Guard<ACE_LOCK>::dump");
56 ACE_Guard<ACE_LOCK>::dump ();
59 ACE_END_VERSIONED_NAMESPACE_DECL
61 #endif /* ACE_GUARD_T_CPP */