Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
13972 commits behind the upstream repository.
Ivan Kasatenko's avatar
Ivan Kasatenko authored
Kqueue/kevent implementation used to ignore events to be unsubscribed
from when events to be subscribed to were provided. This resulted in a
lost notification subscription, when GHC runtime didn't listen for any
events, yet the kernel considered otherwise and kept waking up the IO
manager thread.

This commit fixes this issue by always adding and removing all of the
provided subscriptions.
67ee741b
History