20 #ifndef GALOIS_CHECKEDOBJECT_H
21 #define GALOIS_CHECKEDOBJECT_H
23 #include "galois/config.h"
38 template <
typename... Args>
39 GChecked(Args&&... args) : val(std::forward<Args>(args)...) {}
62 #endif // _GALOIS_CHECKEDOBJECT_H
Conflict-checking wrapper for any type.
Definition: CheckedObject.h:34
All objects that may be locked (nodes primarily) must inherit from Lockable.
Definition: libgalois/include/galois/runtime/Context.h:83
GChecked(Args &&...args)
Definition: CheckedObject.h:39
void acquire(Lockable *lockable, galois::MethodFlag m)
Master function which handles conflict detection used to acquire a lockable thing.
Definition: libgalois/include/galois/runtime/Context.h:218
MethodFlag
What should the runtime do when executing a method.
Definition: MethodFlags.h:34