00001 // -*- C++ -*- 00002 // 00003 // Reverse_Lock_T.inl,v 4.5 2005/10/28 16:14:55 ossama Exp 00004 00005 #include "ace/config-all.h" 00006 #include "ace/OS_NS_errno.h" 00007 00008 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00009 00010 template <class ACE_LOCKING_MECHANISM> ACE_INLINE 00011 ACE_Reverse_Lock<ACE_LOCKING_MECHANISM>::ACE_Reverse_Lock ( 00012 ACE_LOCKING_MECHANISM &lock, 00013 ACE_Acquire_Method::METHOD_TYPE acquire_method) 00014 : lock_ (lock), 00015 acquire_method_ (acquire_method) 00016 { 00017 } 00018 00019 ACE_END_VERSIONED_NAMESPACE_DECL