KQueue: Fix write notification requests being ignored...
authorMatthias Treydte <mt@waldheinz.de>
Mon, 8 Jan 2018 15:33:37 +0000 (10:33 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 12 Jan 2018 21:12:39 +0000 (16:12 -0500)
commitd87bb656ad49ce591f71d6516b575e0c3e109a49
treee55d4aeb0c2b78513bf6c5eb509c3adf647eedba
parentebf8e07629a3adeddd9267579524c28951d83a7e
KQueue: Fix write notification requests being ignored...

when read notifications are requested, too (#13903)

Signed-off-by: Matthias Treydte <mt@waldheinz.de>
KQueue: Drop Bits/FiniteBits instances for Filter as they are really
constants whose bits should not be fiddled with

Signed-off-by: Matthias Treydte <mt@waldheinz.de>
Reviewers: austin, hvr, bgamari

Reviewed By: bgamari

Subscribers: gridaphobe, kazu_yamamoto, rwbarton, thomie

GHC Trac Issues: #13903

Differential Revision: https://phabricator.haskell.org/D3692

(cherry picked from commit 6c3eafb35eb7c664963d08a5904faf8c6471218e)
libraries/base/GHC/Event/KQueue.hsc