From 7122ff03d98b3b80452d0eaf44e172ed36791aee Mon Sep 17 00:00:00 2001 From: GHC GitLab CI <ghc-ci@gitlab-haskell.org> Date: Thu, 26 Nov 2020 01:07:24 +0000 Subject: [PATCH] nonmoving: Don't join to mark_thread on shutdown The mark thread is not joinable as we detach from it on creation. (cherry picked from commit ca1ef0e758a3fb787691529a0f8149e9d10b1d00) --- rts/sm/NonMoving.c | 1 - 1 file changed, 1 deletion(-) diff --git a/rts/sm/NonMoving.c b/rts/sm/NonMoving.c index 538583e687ed..4519a3331454 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 } -- GitLab