From e391a16f919e5bebf75355e8dd1542cdc5656198 Mon Sep 17 00:00:00 2001 From: GHC GitLab CI Date: Thu, 26 Nov 2020 01:07:24 +0000 Subject: nonmoving: Don't join to mark_thread on shutdown The mark thread is not joinable as we detach from it on creation. --- rts/sm/NonMoving.c | 1 - 1 file changed, 1 deletion(-) 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 } -- cgit v1.2.1