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.
This commit is contained in:
Max Kellermann 2008-09-23 20:47:32 +02:00
parent 1db88364bb
commit 7613688575
1 changed files with 0 additions and 2 deletions

View File

@ -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())