#4934: threadWaitRead works incorrectly on nonthreaded RTS
-------------------------------+--------------------------------------------
    Reporter:  slyfox          |        Owner:  simonmar                   
        Type:  bug             |       Status:  infoneeded                 
    Priority:  normal          |    Milestone:  _|_                        
   Component:  Runtime System  |      Version:  7.0.1                      
    Keywords:                  |     Testcase:                             
   Blockedby:                  |   Difficulty:                             
          Os:  Linux           |     Blocking:                             
Architecture:  x86_64 (amd64)  |      Failure:  Incorrect result at runtime
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * priority:  high => normal
  * milestone:  7.0.3 => _|_


Comment:

 Replying to [comment:12 tibbe]:
 > `poll` sets `POLLNVAL` per FD so that should be possible.

 Ok.  In that case we could declare it to be a bug in the non-threaded RTS
 that could be fixed by using `poll()` instead of `select()` and generating
 correct error returns from `waitRead#`.  Fixing it won't be a high
 priority, though.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to