Skip to content
  • Jost Berthold's avatar
    use GHC-7.8.3's values for thread block reason (fixes #9333) · 4ee8c273
    Jost Berthold authored
    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
    4ee8c273