[GHC] #13683: Use epoll rather than poll where appropriate

GHC ghc-devs at haskell.org
Thu May 11 04:51:01 UTC 2017


#13683: Use epoll rather than poll where appropriate
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Core Libraries    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 bgamari, see `fdReady` in `libraries/base/cbits/inputReady.c`. I don't
 know if `epoll` is appropriate there (I gather `epoll` is only for non-
 files?), but I ran into it in a commit shortly before 8.0.2 and looked up
 what the things were and figured it was worth checking.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13683#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list