interruptible() was not returning true for BlockedOnSTM (#9379)
Summary: There's an knock-on fix in HeapStackCheck.c which is potentially scary, but I'm pretty confident is OK. See comment for details. Test Plan: I've run all the STM tests I can find, including libraries/stm/tests/stm049 with +RTS -N8 and some of the constants bumped to make it more of a stress test. Reviewers: hvr, rwbarton, austin Subscribers: simonmar, relrod, ezyang, carter Differential Revision: https://phabricator.haskell.org/D104 GHC Trac Issues: #9379
Showing
- rts/HeapStackCheck.cmm 18 additions, 7 deletionsrts/HeapStackCheck.cmm
- rts/RaiseAsync.h 1 addition, 0 deletionsrts/RaiseAsync.h
- testsuite/tests/concurrent/should_run/T9379.hs 17 additions, 0 deletionstestsuite/tests/concurrent/should_run/T9379.hs
- testsuite/tests/concurrent/should_run/all.T 2 additions, 0 deletionstestsuite/tests/concurrent/should_run/all.T
Loading
Please register or sign in to comment