event_pipe: renamed functions from main_notify_* to event_pipe_*

Continuing the previous patch.
This commit is contained in:
Max Kellermann
2009-01-01 18:12:14 +01:00
parent 9f5934d95b
commit 22bb5a5856
8 changed files with 27 additions and 27 deletions

View File

@@ -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;
}