[GHC] #806: hGetBufNonBlocking doesn't work on Windows

GHC cvs-ghc at haskell.org
Wed Sep 15 11:15:42 EDT 2010


#806: hGetBufNonBlocking doesn't work on Windows
-------------------------------+--------------------------------------------
    Reporter:  titto@…         |        Owner:                            
        Type:  bug             |       Status:  new                       
    Priority:  normal          |    Milestone:  _|_                       
   Component:  libraries/base  |      Version:  6.4.2                     
    Keywords:                  |     Testcase:  hGetBuf001                
   Blockedby:                  |   Difficulty:  Moderate (less than a day)
          Os:  Windows         |     Blocking:                            
Architecture:  x86             |      Failure:  Runtime crash             
-------------------------------+--------------------------------------------

Comment(by simonmar):

 I appreciate the problem.  However, in order to fix this we have write a
 new Windows backend for the IO library that uses the Win32 API directly,
 rather than the current one that uses the Windows emulation of the POSIX
 API.  The current version doesn't support non-blocking I/O.  I'd really
 like a Win32 expert to step up and volunteer to do this!

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


More information about the Glasgow-haskell-bugs mailing list