projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixup whitespace
[c11tester.git]
/
promise.h
diff --git
a/promise.h
b/promise.h
index 180d9b01cc3bfc723d8dc3deb62c83c1a4e90e5a..fda00cc508229221e5965ea3c752443d503bb1ca 100644
(file)
--- a/
promise.h
+++ b/
promise.h
@@
-14,9
+14,10
@@
class ModelAction;
class Promise {
public:
Promise(ModelAction * act, uint64_t value);
class Promise {
public:
Promise(ModelAction * act, uint64_t value);
-
const
ModelAction * get_action() { return read; }
+ ModelAction * get_action() { return read; }
int increment_threads() { return ++numthreads; }
int increment_threads() { return ++numthreads; }
-
+ uint64_t get_value() { return value; }
+
private:
uint64_t value;
ModelAction *read;
private:
uint64_t value;
ModelAction *read;