aboutsummaryrefslogtreecommitdiff
path: root/dep/src/ace/Semaphore.cpp
diff options
context:
space:
mode:
authorXanadu <none@none>2010-07-20 02:49:28 +0200
committerXanadu <none@none>2010-07-20 02:49:28 +0200
commit79622802f397258ee0f34327ba3ae6977ca3e7ff (patch)
tree1868946c234ab9ee256a6b7766a15713eae94235 /dep/src/ace/Semaphore.cpp
parent7dd2dc91816ab8b3bc3b99a1b1c99c7ea314d5a8 (diff)
parentf906976837502fa5aa81b982b901d1509f5aa0c4 (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/src/ace/Semaphore.cpp')
-rw-r--r--dep/src/ace/Semaphore.cpp63
1 files changed, 0 insertions, 63 deletions
diff --git a/dep/src/ace/Semaphore.cpp b/dep/src/ace/Semaphore.cpp
deleted file mode 100644
index 987a2014852..00000000000
--- a/dep/src/ace/Semaphore.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
-// $Id: Semaphore.cpp 80826 2008-03-04 14:51:23Z wotte $
-
-#include "ace/Semaphore.h"
-
-#if !defined (__ACE_INLINE__)
-#include "ace/Semaphore.inl"
-#endif /* __ACE_INLINE__ */
-
-#include "ace/Log_Msg.h"
-#include "ace/ACE.h"
-
-ACE_RCSID (ace,
- Semaphore,
- "$Id: Semaphore.cpp 80826 2008-03-04 14:51:23Z wotte $")
-
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
-ACE_ALLOC_HOOK_DEFINE(ACE_Semaphore)
-
-void
-ACE_Semaphore::dump (void) const
-{
-// ACE_TRACE ("ACE_Semaphore::dump");
-
- ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n")));
- ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
-}
-
-ACE_Semaphore::ACE_Semaphore (unsigned int count,
- int type,
- const ACE_TCHAR *name,
- void *arg,
- int max)
- : removed_ (false)
-{
-// ACE_TRACE ("ACE_Semaphore::ACE_Semaphore");
-#if defined(ACE_LACKS_UNNAMED_SEMAPHORE)
-// if the user does not provide a name, we generate a unique name here
- ACE_TCHAR iname[ACE_UNIQUE_NAME_LEN];
- if (name == 0)
- ACE::unique_name (this, iname, ACE_UNIQUE_NAME_LEN);
- if (ACE_OS::sema_init (&this->semaphore_, count, type,
- name ? name : iname,
- arg, max) != 0)
-#else
- if (ACE_OS::sema_init (&this->semaphore_, count, type,
- name, arg, max) != 0)
-#endif
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("%p\n"),
- ACE_TEXT ("ACE_Semaphore::ACE_Semaphore")));
-}
-
-ACE_Semaphore::~ACE_Semaphore (void)
-{
-// ACE_TRACE ("ACE_Semaphore::~ACE_Semaphore");
-
- this->remove ();
-}
-
-ACE_END_VERSIONED_NAMESPACE_DECL
-