- Promise(ModelAction *act, uint64_t value) :
- value(value), read(act), numthreads(1)
- { }
+ Promise(ModelAction *act, uint64_t value, modelclock_t expiration) :
+ value(value), expiration(expiration), read(act), write(NULL)
+ {
+ increment_threads(act->get_tid());
+ }
+ modelclock_t get_expiration() const {return expiration;}