class GradSoft::WriteLocker

WriteLocker: wrap write locking in constructor/destructor

Public Methods

[more] WriteLocker(RWLock& owner) throw(ThreadingExceptions::PossibleDeadlock, ThreadingExceptions::NoResources, ThreadingExceptions::InternalError)
Constructor.
[more] ~WriteLocker() throw()
Destructor.


Documentation

WriteLocker: wrap write locking in constructor/destructor

Usage: { WriteLocker wlocker(rwlock); ... write-operations here .. }

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

o ~WriteLocker() 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++.