summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-11-26 01:07:24 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-11-29 15:33:54 -0500
commite391a16f919e5bebf75355e8dd1542cdc5656198 (patch)
treea7a268aee293a20196f082a9b2c8cf19efe28fe2
parent2793cfdc8f7dca8461149d54882286a76f52ff84 (diff)
downloadhaskell-e391a16f919e5bebf75355e8dd1542cdc5656198.tar.gz
nonmoving: Don't join to mark_thread on shutdown
The mark thread is not joinable as we detach from it on creation.
-rw-r--r--rts/sm/NonMoving.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/sm/NonMoving.c b/rts/sm/NonMoving.c
index 5cb754b539..05f8481fe2 100644
--- a/rts/sm/NonMoving.c
+++ b/rts/sm/NonMoving.c
@@ -726,7 +726,6 @@ void nonmovingStop(void)
"waiting for nonmoving collector thread to terminate");
ACQUIRE_LOCK(&concurrent_coll_finished_lock);
waitCondition(&concurrent_coll_finished, &concurrent_coll_finished_lock);
- joinOSThread(mark_thread);
}
#endif
}