iopc::RWXLock Class Reference
[iopccommon]

Recursive read/write/exclusive lock sychronization primitive. More...

#include <rwxLock.h>

List of all members.

Public Member Functions

void rlock () throw (IopcRsrcLackException, IopcDeadlockException, IopcNoMemoryException)
 Waits lock for reading.
void wlock () throw (IopcDeadlockException, IopcNoMemoryException)
 Waits for lock writing.
void xlock () throw (IopcDeadlockException, IopcNoMemoryException)
 Waits for exclusive lock (only one is allowed).
bool tryRLock () throw (IopcRsrcLackException, IopcDeadlockException)
 Tries to get lock for reading immediately.
bool tryWLock () throw (IopcRsrcLackException, IopcDeadlockException)
 Tries to get lock for writing immediately.
bool tryXLock () throw (IopcDeadlockException)
 Tries to get exclusive lock immediately.
void unlock () throw (IopcIncorrectUsageException)
 Removes one lock.


Detailed Description

Recursive read/write/exclusive lock sychronization primitive.

Allows several write locks to be held by a thread.


The documentation for this class was generated from the following files:

Generated on Tue Apr 14 16:46:35 2009 for IOPC 2 by  doxygen 1.5.6