class GradSoft::ReadLocker

ReadLocker : wrap read locking in constructor/destructor.

Public Methods

[more] ReadLocker(const RWLock& owner) throw(ThreadingExceptions::PossibleDeadlock, ThreadingExceptions::NoResources, ThreadingExceptions::InternalError)
constructor.
[more] ~ReadLocker() throw()
destructor.


Documentation

ReadLocker : wrap read locking in constructor/destructor. Usage:

{ ReadLocker rlocker(rwlock); ... read-only operations here ... }

o ReadLocker(const RWLock& owner) throw(ThreadingExceptions::PossibleDeadlock, ThreadingExceptions::NoResources, ThreadingExceptions::InternalError)
constructor. Lock owner.
Parameters:
owner - - rwlock to lock.

o ~ReadLocker() throw()
destructor. Unlock owner.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.