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


Public Member Functions | |
| AcquireGuard (api::graph::DistributedNode< T > *node) | |
| virtual | ~AcquireGuard () |
|
inline |
AcquireGuard constructor.
The node is acquired exactly as if node->mutex()->acquire() was called. The internal node data is then updated according to the current SyncMode, and can be safely accessed with node->data() until this Guard goes out of scope.
| node | to acquire |
|
inlinevirtual |
AcquireGuard destructor.
Releases the acquire operation.