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

GHC trac at galois.com
Mon Jul 10 08:22:27 EDT 2006


#806: hGetBufNonBlocking doesn't work with -threaded on Windows
-----------------------------+----------------------------------------------
  Reporter:  titto at kamus.it  |          Owner:         
      Type:  bug             |         Status:  new    
  Priority:  normal          |      Milestone:  6.6    
 Component:  libraries/base  |        Version:  6.4.2  
  Severity:  normal          |     Resolution:         
  Keywords:                  |             Os:  Windows
Difficulty:  Unknown         |   Architecture:  x86    
-----------------------------+----------------------------------------------
Changes (by simonmar):

  * component:  Compiler => libraries/base
  * milestone:  => 6.6
  * summary:  internal error: asyncRead# on threaded RTS with HAppS
              -threaded => hGetBufNonBlocking doesn't work
              with -threaded on Windows

Comment:

 The bug is in hGetBufNonBlocking, which bogusly uses asyncRead on Windows.
 I've changed the title of the ticket to reflect this.  As a workaround for
 now, you could use hGetBuf (I believe the NonBlocking variants aren't
 actually non-blocking on Windows anyway, this is another bug).

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


More information about the Glasgow-haskell-bugs mailing list