Commits on Source (8)
-
Ben Gamari authored
Incredibly, we previously did not have a single way which would test the threaded RTS with multiple capabilities and the sanity-checker enabled.
-
Ben Gamari authored
`doneWithMsgThrowTo` was previously too strict in asserting that the `Message` is locked. Specifically, it failed to consider that the `Message` may not be locked if we are deleting all threads during RTS shutdown.
-
Ben Gamari authored
Previously UnliftedTVar2 would fail when run with multiple capabilities (and possibly even with one capability) as it would assume that `killThread#` would immediately kill the "increment" thread. Also, refactor the the executable to now succeed with no output and fails with an exit code.
-
Ben Gamari authored
Previously it was sensitive to the labels of threads which it did not create (e.g. the IO manager event loop threads). Fix this.
-
Ben Gamari authored
-
Ben Gamari authored
Make the RTS compilable with a C++ compiler by inserting necessary casts.
-
Ben Gamari authored
"tracingAddCapabilities" was mis-named
-
Ben Gamari authored
These are no longer necessary since we now compile as C99.
Showing
- libraries/base/tests/listThreads.hs 10 additions, 4 deletionslibraries/base/tests/listThreads.hs
- libraries/base/tests/listThreads.stdout 0 additions, 2 deletionslibraries/base/tests/listThreads.stdout
- rts/Messages.h 4 additions, 2 deletionsrts/Messages.h
- rts/Schedule.c 3 additions, 2 deletionsrts/Schedule.c
- rts/Schedule.h 1 addition, 1 deletionrts/Schedule.h
- rts/Trace.c 1 addition, 1 deletionrts/Trace.c
- rts/Trace.h 3 additions, 1 deletionrts/Trace.h
- rts/include/Stg.h 2 additions, 21 deletionsrts/include/Stg.h
- rts/sm/NonMovingMark.h 2 additions, 2 deletionsrts/sm/NonMovingMark.h
- testsuite/config/ghc 3 additions, 1 deletiontestsuite/config/ghc
- testsuite/tests/primops/should_run/UnliftedTVar2.hs 7 additions, 1 deletiontestsuite/tests/primops/should_run/UnliftedTVar2.hs
- testsuite/tests/primops/should_run/UnliftedTVar2.stdout 0 additions, 1 deletiontestsuite/tests/primops/should_run/UnliftedTVar2.stdout