Base Framework
|
Wrapper for a synchronization object. More...
#include <base/concurrency/Synchronizeable.h>
Inherits Object.
Protected Member Functions | |
Synchronizeable () | |
void | exclusiveLock () const |
void | sharedLock () const |
void | releaseLock () const |
Wrapper for a synchronization object.
Wrapper for a synchronization object. Ensures that only one synchronization object is used by a synchronized object. The synchronization object is not considered a part of the state of the synchronized object. Valid synchronization objects are those who implement the Lock interface.
|
inlineprotected |
Initializes a synchronize able object.
|
inlineprotected |
Acquires an exclusive lock on this object.
|
inlineprotected |
Releases the lock on this object.
|
inlineprotected |
Acquires a shared lock on this object.