Developer Documentation |
RAVL, Recognition And Vision Library |
USER | HOME PAGE | CLASS LIST | CONTENTS |
Ravl - OS - Threads - RWLockHoldC |
PUBLIC |
RWLockHoldC::RWLockHoldC(const RWLockC &,bool,bool) RWLockHoldC::Unlock(void) RWLockHoldC::~RWLockHoldC(void) RWLockHoldC::LockRd(void) RWLockHoldC::LockWr(void) RWLockHoldC::IsReadLocked(void) const RWLockHoldC::IsWriteLocked(void) const |
RWLockHoldC | |
Exception safe RWLockC locking class. | |
include | "Ravl/Threads/RWLock.hh" |
Created: | 02/07/1999 |
Source file: | Ravl/OS/Threads/Posix/RWLock.hh |
User Level: | Normal |
Library: | RavlThreads |
In Scope: | RavlN |
The destructor of this object removed the lock if it is held. This ensures whenever the lock goes out of scope, either by returning from the function or if an exception is held, that the lock will be released properly.
It is the users responsability to ensure that the RWLockC remains valid for the lifetime of any RWLockHoldC instance.
Variables:
Maintainer:Charles Galambos, Created: 02/07/1999, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002 |