From 761368857585498400af9177050ef3e6493cc8a3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Sep 2008 20:47:32 +0200 Subject: 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. --- src/main_notify.c | 2 -- 1 file changed, 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()) -- cgit v1.2.3