Fix named pipe universal notifier. No more threads. Tests now pass.

This commit is contained in:
ridiculousfish
2014-05-05 23:33:05 -07:00
parent f27232bd0a
commit 8a263952ad
4 changed files with 172 additions and 101 deletions

View File

@@ -192,7 +192,7 @@ static wint_t readb()
if (notifier_fd > 0 && FD_ISSET(notifier_fd, &fdset))
{
bool notified = notifier.drain_notification_fd(notifier_fd);
bool notified = notifier.notification_fd_became_readable(notifier_fd);
if (notified)
{
env_universal_barrier();