Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members  

WLock Class Reference

#include <RWLock.h>

Inheritance diagram for WLock:

Lockable List of all members.

Protected Methods

 WLock (RWLock *l) throw (Synchronization_Exception)
 Create write lock associated with a certain RWLock.

virtual ~WLock () throw ()
 Destroy the write lock.

virtual void release () throw (Synchronization_Exception)
 Release the write lock.

virtual void acquire () throw (Synchronization_Exception)
 Acquire the write lock.

virtual bool tryAcquire (unsigned long milliseconds) throw (Synchronization_Exception)
 Acquire the write lock with a timeout.


Friends

class RWLock
 friend.


Detailed Description

Delegate the lockable interface to the associated RWLock. This allows the RWLock to be used with the Guard object


The documentation for this class was generated from the following file:
Generated on Mon Jun 10 22:44:46 2002 for ZThread by doxygen1.2.15