aboutsummaryrefslogtreecommitdiffstats
path: root/src/event_pipe.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-02 11:20:41 +0100
committerMax Kellermann <max@duempel.org>2009-01-02 11:20:41 +0100
commit272ee5f7d2be764d5edef2db763f50438689b48c (patch)
tree871f80692a7f9f1d2f02173fc49d1183819eae55 /src/event_pipe.h
parentdaf7c3db5aac09a8376f1c8ed499eb17202f77a9 (diff)
downloadmpd-272ee5f7d2be764d5edef2db763f50438689b48c.tar.gz
mpd-272ee5f7d2be764d5edef2db763f50438689b48c.tar.xz
mpd-272ee5f7d2be764d5edef2db763f50438689b48c.zip
event_pipe: replaced PIPE_EVENT_SIGNAL with main_notify
There is only one location using PIPE_EVENT_SIGNAL: to synchronize player_command() with player_command_finished(). Use the "notify" library instead of the event_pipe here.
Diffstat (limited to '')
-rw-r--r--src/event_pipe.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/event_pipe.h b/src/event_pipe.h
index 3888939c8..6205ab867 100644
--- a/src/event_pipe.h
+++ b/src/event_pipe.h
@@ -24,10 +24,6 @@
#include <glib.h>
enum pipe_event {
- /** the default event: the main thread is waiting for somebody,
- and this event wakes up the main thread */
- PIPE_EVENT_SIGNAL = 0,
-
/** database update was finished */
PIPE_EVENT_UPDATE,
@@ -66,8 +62,6 @@ void event_pipe_emit(enum pipe_event event);
*/
void event_pipe_emit_fast(enum pipe_event event);
-void event_pipe_signal(void);
-
void event_pipe_wait(void);
#endif /* MAIN_NOTIFY_H */