Add event test and fix the notify_all==false case.
This commit is contained in:
parent
5450cda724
commit
9bf0875778
2 changed files with 70 additions and 1 deletions
|
@ -1034,7 +1034,7 @@ final class PosixEventDriverEvents(Loop : PosixEventLoop) : EventDriverEvents {
|
|||
}
|
||||
} else {
|
||||
if (!m_loop.m_fds[event].event.waiters.empty)
|
||||
m_loop.m_fds[event].event.waiters.consumeOne();
|
||||
m_loop.m_fds[event].event.waiters.consumeOne()(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue