diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-05-30 21:41:54 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-06-16 21:54:34 +0300 |
commit | 862b5cf018e6c2607d7e50a682ac7670cb59b62b (patch) | |
tree | c76ee6bcf3dd2d1f966067e434fd3131c0b9c8ef | |
parent | 8e7460ae07fddb019081ecc101297883968b8583 (diff) | |
download | bdwgc-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 */ |