GNE::SynchronizedObject Class Reference
[Threading API]
A class meant to act as a base class for objects who might want an acquire/ release pair of functions tied to a mutex for object-level synchronization.
More...
#include <SynchronizedObject.h>
Inheritance diagram for GNE::SynchronizedObject:
[legend]Collaboration diagram for GNE::SynchronizedObject:
[legend]List of all members.
|
Public Member Functions |
void | acquire () |
| Synchronizes on this object.
|
void | release () |
| Releases the lock on this object.
|
Protected Attributes |
Mutex | lock |
Detailed Description
A class meant to act as a base class for objects who might want an acquire/ release pair of functions tied to a mutex for object-level synchronization.
You can inherit from this class publically to allow for external sources to do locking. Protected inheritance is possible to allow for implicit locking internally, but likely would not be any more useful and declaring a Mutex object.
The documentation for this class was generated from the following file:
Generated on Tue Sep 5 23:47:51 2006 for GNE by
1.4.7