DD::Image::WriteGuard Class Reference

Inherits DD::Image::BaseReadWriteGuard.

List of all members.

Public Member Functions

 WriteGuard (ReadWriteLock &m)
 WriteGuard (ReadWriteLock *m)

Detailed Description

guard that performs a write lock on ctor and on lock on dtor. Use for scoping a read/write lock to get automatic unlocking