aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/Lock.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-17 15:35:07 -0700
committermaximius <none@none>2009-10-17 15:35:07 -0700
commit26b5e033ffde3d161382fc9addbfa99738379641 (patch)
treea344f369ca32945f787a02dee35c3dbe342bed7e /dep/ACE_wrappers/ace/Lock.cpp
parentf21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff)
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
Diffstat (limited to 'dep/ACE_wrappers/ace/Lock.cpp')
-rw-r--r--dep/ACE_wrappers/ace/Lock.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/dep/ACE_wrappers/ace/Lock.cpp b/dep/ACE_wrappers/ace/Lock.cpp
index f3fd45f4b95..f4b5849cbca 100644
--- a/dep/ACE_wrappers/ace/Lock.cpp
+++ b/dep/ACE_wrappers/ace/Lock.cpp
@@ -1,82 +1,65 @@
// $Id: Lock.cpp 80826 2008-03-04 14:51:23Z wotte $
-
#include "ace/Lock.h"
-
#if !defined (__ACE_INLINE__)
#include "ace/Lock.inl"
#endif /* __ACE_INLINE__ */
-
ACE_RCSID(ace, Lock, "$Id: Lock.cpp 80826 2008-03-04 14:51:23Z wotte $")
-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
ACE_Lock::~ACE_Lock (void)
{
}
-
ACE_Adaptive_Lock::ACE_Adaptive_Lock (void)
: lock_ (0)
{
}
-
ACE_Adaptive_Lock::~ACE_Adaptive_Lock (void)
{
}
-
int
ACE_Adaptive_Lock::remove (void)
{
return this->lock_->remove ();
}
-
int
ACE_Adaptive_Lock::acquire (void)
{
return this->lock_->acquire ();
}
-
int
ACE_Adaptive_Lock::tryacquire (void)
{
return this->lock_->tryacquire ();
}
-
int
ACE_Adaptive_Lock::release (void)
{
return this->lock_->release ();
}
-
int
ACE_Adaptive_Lock::acquire_read (void)
{
return this->lock_->acquire_read ();
}
-
int
ACE_Adaptive_Lock::acquire_write (void)
{
return this->lock_->acquire_write ();
}
-
int
ACE_Adaptive_Lock::tryacquire_read (void)
{
return this->lock_->tryacquire_read ();
}
-
int
ACE_Adaptive_Lock::tryacquire_write (void)
{
return this->lock_->tryacquire_write ();
}
-
int
ACE_Adaptive_Lock::tryacquire_write_upgrade (void)
{
return this->lock_->tryacquire_write_upgrade ();
}
-
void
ACE_Adaptive_Lock::dump (void) const
{
@@ -84,6 +67,5 @@ ACE_Adaptive_Lock::dump (void) const
// return this->lock_->dump ();
#endif /* ACE_HAS_DUMP */
}
-
ACE_END_VERSIONED_NAMESPACE_DECL