[GHC] #15768: Using oneshot kqueue() on macOS
GHC
ghc-devs at haskell.org
Mon Oct 29 18:39:04 UTC 2018
#15768: Using oneshot kqueue() on macOS
-------------------------------------+-------------------------------------
Reporter: kazu-yamamoto | Owner: (none)
Type: bug | Status: patch
Priority: highest | Milestone: 8.8.1
Component: Core Libraries | Version: 8.6.1
Resolution: | Keywords: KQueue,
| oneshot, parallel build
Operating System: MacOS X | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by George):
Ah ok, I was wondering why we didn't see this on Linux but the papers says
we weren't using it there. We used epoll. From the paper: "The registerFd
func- tion takes the callback table lock, and then inserts (or modifies)
an entry in the callback table and registers the event subscription us-
ing the underlying OS event notification mechanism, for example epoll [8]
on Linux, kqueue [7] on BSD variants, and poll on other OSes"
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15768#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list