diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h b/TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h deleted file mode 100644 index 1f36fdb6fc3..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h +++ /dev/null @@ -1,69 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ORBSVCS Real-time Event Channel -// -// = FILENAME -// EC_ConsumerAdmin -// -// = AUTHOR -// Carlos O'Ryan (coryan@cs.wustl.edu) -// -// = CREDITS -// Based on previous work by Tim Harrison (harrison@cs.wustl.edu) -// and other members of the DOC group. -// More details can be found in: -// http://www.cs.wustl.edu/~schmidt/oopsla.ps.gz -// http://www.cs.wustl.edu/~schmidt/JSAC-98.ps.gz -// -// -// ============================================================================ - -#ifndef TAO_EC_BUSY_LOCK_H -#define TAO_EC_BUSY_LOCK_H - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -template<class Adaptee> -class TAO_EC_Busy_Lock_Adapter -{ -public: - TAO_EC_Busy_Lock_Adapter (Adaptee* adaptee); - // Constructor - - // = The ACE_Lock methods, please check $ACE_ROOT/ace/Synch.h for - // details. - - int remove (void); - int acquire (void); - int tryacquire (void); - int release (void); - int acquire_read (void); - int acquire_write (void); - int tryacquire_read (void); - int tryacquire_write (void); - -private: - Adaptee* adaptee_; -}; - -#if defined (__ACE_INLINE__) -#include "EC_Busy_Lock.i" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "EC_Busy_Lock.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("EC_Busy_Lock.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* TAO_EC_BUSY_LOCK_H */ |