Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
13965 commits behind the upstream repository.
  • Ivan Kasatenko's avatar
    67ee741b
    Do not ignore events deletion when events to be added are provided (#16916) · 67ee741b
    Ivan Kasatenko authored and Marge Bot's avatar Marge Bot committed
    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
    Do not ignore events deletion when events to be added are provided (#16916)
    Ivan Kasatenko authored and Marge Bot's avatar Marge Bot committed
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
T16916.stdout 5 B