aboutsummaryrefslogtreecommitdiffstats
path: root/src/action_status.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/action_status.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/action_status.h b/src/action_status.h
new file mode 100644
index 000000000..d645435c3
--- /dev/null
+++ b/src/action_status.h
@@ -0,0 +1,16 @@
+#ifndef ACTION_STATUS_H
+#define ACTION_STATUS_H
+
+/* should probably be used in other places (decoder/input buffering), too */
+enum action_status {
+ /* all mutexes for conditions are unlocked and caller signaled */
+ AS_COMPLETE = 0,
+
+ /* mutexes are locked and caller has not been signaled, yet */
+ AS_INPROGRESS,
+
+ /* mutexes are unlocked and caller has not been signaled */
+ AS_DEFERRED
+};
+
+#endif /* !ACTION_STATUS_H */