summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-05-30 21:41:54 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-06-16 21:54:34 +0300
commit862b5cf018e6c2607d7e50a682ac7670cb59b62b (patch)
treec76ee6bcf3dd2d1f966067e434fd3131c0b9c8ef
parent8e7460ae07fddb019081ecc101297883968b8583 (diff)
downloadbdwgc-862b5cf018e6c2607d7e50a682ac7670cb59b62b.tar.gz
Fix comment in GC_init regarding GC_init_parallel call
(a cherry-pick of commit 4c2a16159 from 'release-7_6') * misc.c [PARALLEL_MARK || THREAD_LOCAL_ALLOC] (GC_init): Fix comment describing GC_init_parallel() call.
-rw-r--r--misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index eb974116..98a90dc3 100644
--- a/misc.c
+++ b/misc.c
@@ -1227,9 +1227,8 @@ GC_API void GC_CALL GC_init(void)
/* The rest of this again assumes we don't really hold */
/* the allocation lock. */
# if defined(PARALLEL_MARK) || defined(THREAD_LOCAL_ALLOC)
- /* Make sure marker threads are started and thread local */
- /* allocation is initialized, in case we didn't get */
- /* called from GC_init_parallel. */
+ /* Make sure thread local allocation is initialized, in */
+ /* case we did not get called from GC_init_parallel(). */
GC_init_parallel();
# endif /* PARALLEL_MARK || THREAD_LOCAL_ALLOC */