aboutsummaryrefslogtreecommitdiffstats
path: root/src/action_status.h
blob: d645435c3c8383bc8ead69e7cca772de2f1659a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 */