Base Framework
|
Shared synchronization. More...
#include <base/concurrency/SharedSynchronize.h>
Public Member Functions | |
SharedSynchronize (const Guard &_guard) | |
~SharedSynchronize () | |
Shared synchronization.
This class is used to synchronize executing contexts (shared) with a guard object of your choice. Some guard classes may implement the shared locks using exclusive locks.
|
inlineexplicit |
Initializes the synchronization object.
guard | The synchronize able object to be synchronized. |
|
inline |
Releases the lock if not already released and destroys the synchronization object.