projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finish promise support
[c11tester.git]
/
promise.h
diff --git
a/promise.h
b/promise.h
index 0bf62d6b6a6bb1358383cd772ac0c5c9cd6d04a0..7b3d1ecf363baf36e7cda4b2ae3d034a80ad61cf 100644
(file)
--- a/
promise.h
+++ b/
promise.h
@@
-14,7
+14,7
@@
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; }
uint64_t get_value() { return value; }
int increment_threads() { return ++numthreads; }
uint64_t get_value() { return value; }