projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
action: remove clockvector flag from print() method
[model-checker.git]
/
promise.h
diff --git
a/promise.h
b/promise.h
index 83198b27758ffffa4f783986f2f1125e7c654c48..11719fc3b2c291307f61e9480205265436ca7b48 100644
(file)
--- a/
promise.h
+++ b/
promise.h
@@
-21,6
+21,7
@@
class Promise {
int increment_threads() { return ++numthreads; }
uint64_t get_value() const { return value; }
int increment_threads() { return ++numthreads; }
uint64_t get_value() const { return value; }
+ SNAPSHOTALLOC
private:
const uint64_t value;
const modelclock_t expiration;
private:
const uint64_t value;
const modelclock_t expiration;