diff options
author | Ivan Kasatenko <sky.31338@gmail.com> | 2019-07-20 15:09:00 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-21 05:03:40 -0400 |
commit | 67ee741bd6a7017a62719c3c25a5447a0b03191e (patch) | |
tree | d3b5414c10231c458801591269a3ea36cfeb5844 /testsuite/tests/ghci.debugger | |
parent | 5042ba9dbe0caff2e33a4f7f5a78f2f61eaf6a32 (diff) | |
download | haskell-67ee741bd6a7017a62719c3c25a5447a0b03191e.tar.gz |
Do not ignore events deletion when events to be added are provided (#16916)
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.
Diffstat (limited to 'testsuite/tests/ghci.debugger')
0 files changed, 0 insertions, 0 deletions