changes
[model-checker.git] / promise.h
index a47982d6d291078f547acfa2d3ddf9dc33881cc5..180d9b01cc3bfc723d8dc3deb62c83c1a4e90e5a 100644 (file)
--- a/promise.h
+++ b/promise.h
@@ -14,6 +14,9 @@ class ModelAction;
 class Promise {
  public:
        Promise(ModelAction * act, uint64_t value);
+       const ModelAction * get_action() { return read; }
+       int increment_threads() { return ++numthreads; }
+       
  private:
        uint64_t value;
        ModelAction *read;