[GHC] #7353: Make system IO interruptible on Windows

GHC cvs-ghc at haskell.org
Sat Feb 2 15:41:25 CET 2013


#7353: Make system IO interruptible on Windows
---------------------------------+------------------------------------------
    Reporter:  joeyadams         |       Owner:                             
        Type:  bug               |      Status:  new                        
    Priority:  normal            |   Milestone:  7.8.1                      
   Component:  libraries/base    |     Version:  7.6.1                      
    Keywords:                    |          Os:  Windows                    
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
  Difficulty:  Unknown           |    Testcase:                             
   Blockedby:                    |    Blocking:                             
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by joeyadams):

  * blockedby:  7415 =>


Comment:

 I don't have time to work on this right now.  It's more complicated than I
 expected:

  * Making the IOCP approach efficient would involve integration with the
 scheduler and a better understanding of how IOCP interacts with OS
 threads.

  * Couldn't switch to nonblocking sockets by
 [https://github.com/haskell/network/pull/79 modifying the network package
 alone], as GHC doesn't actually support custom IO devices.  Some Handle
 methods cast the device to FD so they can read/write directly from/to the
 device; see #4144 .

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



More information about the ghc-tickets mailing list