#9333: Thread status decoded wrong in base library -------------------------------------+------------------------------------- Reporter: jberthold | Owner: jberthold Type: bug | Status: patch Priority: normal | Milestone: Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 Unknown/Multiple | hour) Type of failure: Incorrect | Blocked By: result at runtime | Related Tickets: Test Case: | Blocking: | Differential Revisions: Phab:D83 | -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"4ee8c27302e6bb3892e7c47a7111b0683d032c07/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="4ee8c27302e6bb3892e7c47a7111b0683d032c07" use GHC-7.8.3's values for thread block reason (fixes #9333) Summary: For now, BlockedOnMVar and BlockedOnMVarRead are not distinguished. Making the distinction would mean to change an exported datatype (API change). Code for this change is included but commented out. The patch adds a test for the threadstatus, which retrieves status BlockedOnMVar for two threads blocked on writing and reading an MVar. Test Plan: ran validate, including the new test Reviewers: simonmar, austin, ezyang Reviewed By: austin, ezyang Subscribers: phaskell, simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D83 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9333#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler