fixup whitespace
[c11tester.git] / promise.h
index a47982d6d291078f547acfa2d3ddf9dc33881cc5..fda00cc508229221e5965ea3c752443d503bb1ca 100644 (file)
--- a/promise.h
+++ b/promise.h
@@ -14,6 +14,10 @@ class ModelAction;
 class Promise {
  public:
        Promise(ModelAction * act, uint64_t value);
+       ModelAction * get_action() { return read; }
+       int increment_threads() { return ++numthreads; }
+       uint64_t get_value() { return value; }
+
  private:
        uint64_t value;
        ModelAction *read;