Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TAO_ESF_Busy_Lock_Adapter Class Template Reference

Adapt classes that implement the "busy lock" protocol, to conform to the ACE Lock interface. More...

#include <ESF_Busy_Lock.h>

List of all members.

Public Methods

 TAO_ESF_Busy_Lock_Adapter (Adaptee* adaptee)
 Constructor.

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 Attributes

Adaptee* adaptee_


Detailed Description

template<class Adaptee> template class TAO_ESF_Busy_Lock_Adapter

Adapt classes that implement the "busy lock" protocol, to conform to the ACE Lock interface.

The ACE Lock interface allows us to use any mutex-like object with the ACE synchronization components (such as guards, Lock_Adapter, etc.). One of the synchronization protocols used in the event services uses the following protocol: