diff options
author | David Eichmann <EichmannD@gmail.com> | 2020-10-19 17:03:41 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-11-02 23:46:19 -0500 |
commit | 81006a06736c7300626f9d692a118b493b585cd5 (patch) | |
tree | ef2e3ee8d4e2a3f21ab2f266edd4317abf6747f2 /rts/sm/NonMoving.c | |
parent | 0b7722219ffdb109c3a8b034a8e112d18e6e4336 (diff) | |
download | haskell-81006a06736c7300626f9d692a118b493b585cd5.tar.gz |
RtsAPI: pause and resume the RTS
The `rts_pause` and `rts_resume` functions have been added to `RtsAPI.h` and
allow an external process to completely pause and resume the RTS.
Co-authored-by: Sven Tennie <sven.tennie@gmail.com>
Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com>
Co-authored-by: Ben Gamari <bgamari.foss@gmail.com>
Diffstat (limited to 'rts/sm/NonMoving.c')
-rw-r--r-- | rts/sm/NonMoving.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/NonMoving.c b/rts/sm/NonMoving.c index 388ceae2fd..05f8481fe2 100644 --- a/rts/sm/NonMoving.c +++ b/rts/sm/NonMoving.c @@ -1215,7 +1215,7 @@ static void nonmovingMark_(MarkQueue *mark_queue, StgWeak **dead_weaks, StgTSO * #if defined(THREADED_RTS) finish: - boundTaskExiting(task); + exitMyTask(); // We are done... mark_thread = 0; |