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