aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-23 20:47:32 +0200
committerMax Kellermann <max@duempel.org>2008-09-23 20:47:32 +0200
commit761368857585498400af9177050ef3e6493cc8a3 (patch)
tree8fb85fcb43f688fbc7e239bc9a592743f9ae1f1f /src
parent1db88364bb68c3dbca55a627915b94a560b91e00 (diff)
downloadmpd-761368857585498400af9177050ef3e6493cc8a3.tar.gz
mpd-761368857585498400af9177050ef3e6493cc8a3.tar.xz
mpd-761368857585498400af9177050ef3e6493cc8a3.zip
main_notify: removed assertion in wakeup_main_task()
It is legal to call wakeup_main_task() from within the main thread, e.g. from within a signal handler. Remove the assertion.
Diffstat (limited to 'src')
-rw-r--r--src/main_notify.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main_notify.c b/src/main_notify.c
index 267394807..d7f429f0f 100644
--- a/src/main_notify.c
+++ b/src/main_notify.c
@@ -85,8 +85,6 @@ static int wakeup_via_pipe(void)
void wakeup_main_task(void)
{
- assert(!pthread_equal(main_task, pthread_self()));
-
main_notify.pending = 1;
if (!wakeup_via_pipe())