projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more changes towards keeping track of promises resolved by a given write statement
[model-checker.git]
/
promise.h
diff --git
a/promise.h
b/promise.h
index 180d9b01cc3bfc723d8dc3deb62c83c1a4e90e5a..0bf62d6b6a6bb1358383cd772ac0c5c9cd6d04a0 100644
(file)
--- a/
promise.h
+++ b/
promise.h
@@
-16,6
+16,7
@@
class Promise {
Promise(ModelAction * act, uint64_t value);
const ModelAction * get_action() { return read; }
int increment_threads() { return ++numthreads; }
+ uint64_t get_value() { return value; }
private:
uint64_t value;