[GHC] #12912: IO library should not use select()

GHC ghc-devs at haskell.org
Wed Mar 29 17:32:02 UTC 2017


#12912: IO library should not use select()
-------------------------------------+-------------------------------------
        Reporter:  simonmar          |                Owner:  simonmar
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.2
       Component:  libraries/base    |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nh2):

 Note this change breaks the following code:


 {{{
 import System.IO
 import System.Timeout

 main = hWaitForInput stdin (5 * 1000)
 }}}


 See https://ghc.haskell.org/trac/ghc/ticket/8684#comment:8

 Is that expected?

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


More information about the ghc-tickets mailing list