![]() |
fpmas 1.6
|
#include <guards.h>


Public Member Functions | |
| SharedLockGuard (const api::graph::DistributedNode< T > *node) | |
| virtual | ~SharedLockGuard () |
|
inline |
SharedLockGuard constructor.
The node is locked exactly as if node->mutex()->lockShared() was called.
| node | to share lock |
|
inlinevirtual |
SharedLockGuard destructor.
Unlocks the node.