[GHC] #4934: threadWaitRead works incorrectly on nonthreaded RTS

GHC ghc-devs at haskell.org
Thu Jun 5 22:11:00 UTC 2014


#4934: threadWaitRead works incorrectly on nonthreaded RTS
------------------------------------------------+--------------------------
        Reporter:  slyfox                       |            Owner:
            Type:  bug                          |           Status:  new
        Priority:  normal                       |        Milestone:  ⊥
       Component:  Runtime System               |          Version:  7.0.1
      Resolution:                               |         Keywords:
Operating System:  Linux                        |     Architecture:  x86_64
 Type of failure:  Incorrect result at runtime  |  (amd64)
       Test Case:                               |       Difficulty:
        Blocking:                               |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------

Comment (by slyfox):

 After throwToSingleThreaded '''tso''' should not be pushed to runnables
 queue.
 0004-rts-posix-Select.c-don-t-put-thread-with-pending-exc.patch fixes this
 problem.

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


More information about the ghc-tickets mailing list