summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-11-26 01:07:24 +0000
committerGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-12-07 15:13:31 +0000
commit7122ff03d98b3b80452d0eaf44e172ed36791aee (patch)
tree824d438ec23617e3e1d8da501310f8683e4b7a49
parent2ba6b268759c2a9dc82bd84a89017ec3190bc2f2 (diff)
downloadhaskell-7122ff03d98b3b80452d0eaf44e172ed36791aee.tar.gz
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)
-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 538583e687..4519a33314 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
}