diff options
Diffstat (limited to 'src/Action.h')
-rw-r--r-- | src/Action.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Action.h b/src/Action.h index 049c35b..c8d2163 100644 --- a/src/Action.h +++ b/src/Action.h @@ -190,6 +190,24 @@ private: * @param ran @c true if the action actually ran */ void cleanup(Action *a, bool succeeded, bool ran); + + /** @brief Test whether an action is blocked by resource contention + * @param a Action to check + * @return @c true if action is blocked + */ + bool blocked_by_resource(const Action *a); + + /** @brief Test whether an action is blocked by a dependency + * @param a Action to check + * @return @c true if action is blocked + */ + bool blocked_by_dependency(const Action *a); + + /** @brief Test whether an action is failed by a dependency + * @param a Action to check + * @return @c true if action is failed + */ + bool failed_by_dependency(const Action *a); }; #endif /* ACTION_H */ |