diff options
| author | Xanadu <none@none> | 2010-07-20 02:49:28 +0200 |
|---|---|---|
| committer | Xanadu <none@none> | 2010-07-20 02:49:28 +0200 |
| commit | 79622802f397258ee0f34327ba3ae6977ca3e7ff (patch) | |
| tree | 1868946c234ab9ee256a6b7766a15713eae94235 /dep/include/ace/Refcountable_T.h | |
| parent | 7dd2dc91816ab8b3bc3b99a1b1c99c7ea314d5a8 (diff) | |
| parent | f906976837502fa5aa81b982b901d1509f5aa0c4 (diff) | |
Merge. Revision history for source files should be all back now.
--HG--
branch : trunk
rename : sql/CMakeLists.txt => sql/tools/CMakeLists.txt
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
Diffstat (limited to 'dep/include/ace/Refcountable_T.h')
| -rw-r--r-- | dep/include/ace/Refcountable_T.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/dep/include/ace/Refcountable_T.h b/dep/include/ace/Refcountable_T.h deleted file mode 100644 index c18781f7954..00000000000 --- a/dep/include/ace/Refcountable_T.h +++ /dev/null @@ -1,68 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Refcountable_T.h - * - * $Id: Refcountable_T.h 81409 2008-04-24 08:30:48Z johnnyw $ - * - * @author Doug Schmidt - * @author Johnny Willemsen - */ -//============================================================================= -#ifndef ACE_REFCOUNTABLE_T_H -#define ACE_REFCOUNTABLE_T_H -#include /**/ "ace/pre.h" - -#include /**/ "ace/ACE_export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Atomic_Op.h" -#include "ace/Synch_Traits.h" - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template <class ACE_LOCK> -class ACE_Refcountable_T -{ -public: - /// Destructor. - virtual ~ACE_Refcountable_T (void); - - // = Increment/Decrement refcount - long increment (void); - long decrement (void); - - /// Returns the current refcount. - long refcount (void) const; - -protected: - /// Protected constructor. - ACE_Refcountable_T (long refcount); - - /// Current refcount. - ACE_Atomic_Op <ACE_LOCK, long> refcount_; -}; - -typedef ACE_Refcountable_T<ACE_Null_Mutex> ACE_Refcountable; - -ACE_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -#include "ace/Refcountable_T.inl" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "ace/Refcountable_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Refcountable_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#include /**/ "ace/post.h" -#endif /*ACE_REFCOUNTABLE_T_H*/ - |
