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; }
-
+
private:
uint64_t value;
ModelAction *read;