aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-01 18:12:14 +0100
committerMax Kellermann <max@duempel.org>2009-01-01 18:12:14 +0100
commit22bb5a5856ff4c195a179610dfb3f09af3183467 (patch)
treeffc7fede9d6208559217a82b7283725bfd114d31 /src/update.c
parent9f5934d95bac6436ccc9a6dadc57e1e062505a79 (diff)
downloadmpd-22bb5a5856ff4c195a179610dfb3f09af3183467.tar.gz
mpd-22bb5a5856ff4c195a179610dfb3f09af3183467.tar.xz
mpd-22bb5a5856ff4c195a179610dfb3f09af3183467.zip
event_pipe: renamed functions from main_notify_* to event_pipe_*
Continuing the previous patch.
Diffstat (limited to '')
-rw-r--r--src/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.c b/src/update.c
index 4d0ed5118..438cd66a8 100644
--- a/src/update.c
+++ b/src/update.c
@@ -98,7 +98,7 @@ delete_song(struct directory *dir, struct song *del)
cond_enter(&delete_cond);
assert(!delete);
delete = del;
- wakeup_main_task();
+ event_pipe_signal();
do { cond_wait(&delete_cond); } while (delete);
cond_leave(&delete_cond);
@@ -603,7 +603,7 @@ static void * update_task(void *_path)
if (modified)
db_save();
progress = UPDATE_PROGRESS_DONE;
- wakeup_main_task();
+ event_pipe_signal();
return NULL;
}