diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-08-20 01:31:51 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-20 01:31:51 -0700 |
commit | 1b197e65232e1a51b853db53985e8eda61f1b196 (patch) | |
tree | 2d85ff67ba79e32256a20d2d2bee7222352007fd /src/action_status.h | |
parent | 5a0216af3dc7c9dedc4dacb708191f0fd380bb73 (diff) | |
parent | 508ae1c18d3bdc99a1bb06181762e5ec859cf072 (diff) | |
download | mpd-1b197e65232e1a51b853db53985e8eda61f1b196.tar.gz mpd-1b197e65232e1a51b853db53985e8eda61f1b196.tar.xz mpd-1b197e65232e1a51b853db53985e8eda61f1b196.zip |
Merge branch 'core-rewrite' of git://git.musicpd.org/normalperson/mpd
* 'core-rewrite' of git://git.musicpd.org/normalperson/mpd:
Remove ob_wait_sync and cleanup triggering in playlist
fix output buffer deadlock when daemonizing
log.c: thread-safety for warning log
core rewrite (decode,player,outputBuffer,playlist)
Diffstat (limited to 'src/action_status.h')
-rw-r--r-- | src/action_status.h | 16 |
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 */ |