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:
parent
1db88364bb
commit
7613688575
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue