A typesafe wrapper for a lock for synchronization of shared resources on a given node, with safe creation, destruction, and serialization.
More...
#include <NodeLock.hpp>
|
|
| NodeLock (CkMigrateMessage *) |
|
| NodeLock (const NodeLock &)=delete |
|
NodeLock & | operator= (const NodeLock &)=delete |
|
| NodeLock (NodeLock &&moved_lock) noexcept |
|
NodeLock & | operator= (NodeLock &&moved_lock) noexcept |
|
void | lock () |
|
bool | try_lock () |
|
void | unlock () |
|
void | destroy () |
|
bool | is_destroyed () |
|
void | pup (PUP::er &p) |
A typesafe wrapper for a lock for synchronization of shared resources on a given node, with safe creation, destruction, and serialization.
- Note
- If a locked NodeLock is serialized, it is deserialized as unlocked.
The documentation for this class was generated from the following file:
- src/Parallel/NodeLock.hpp