Use override/default for RTPortableServer
[ACE_TAO.git] / ACE / ace / Lock.cpp
blob977c4638f679c63a1f7944fe3e8cd16d81ce6422
1 #include "ace/Lock.h"
3 #if !defined (__ACE_INLINE__)
4 #include "ace/Lock.inl"
5 #endif /* __ACE_INLINE__ */
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 int
10 ACE_Adaptive_Lock::remove ()
12 return this->lock_->remove ();
15 int
16 ACE_Adaptive_Lock::acquire ()
18 return this->lock_->acquire ();
21 int
22 ACE_Adaptive_Lock::tryacquire ()
24 return this->lock_->tryacquire ();
27 int
28 ACE_Adaptive_Lock::release ()
30 return this->lock_->release ();
33 int
34 ACE_Adaptive_Lock::acquire_read ()
36 return this->lock_->acquire_read ();
39 int
40 ACE_Adaptive_Lock::acquire_write ()
42 return this->lock_->acquire_write ();
45 int
46 ACE_Adaptive_Lock::tryacquire_read ()
48 return this->lock_->tryacquire_read ();
51 int
52 ACE_Adaptive_Lock::tryacquire_write ()
54 return this->lock_->tryacquire_write ();
57 int
58 ACE_Adaptive_Lock::tryacquire_write_upgrade ()
60 return this->lock_->tryacquire_write_upgrade ();
63 void
64 ACE_Adaptive_Lock::dump () const
66 #if defined (ACE_HAS_DUMP)
67 // return this->lock_->dump ();
68 #endif /* ACE_HAS_DUMP */
71 ACE_END_VERSIONED_NAMESPACE_DECL