summaryrefslogtreecommitdiff
path: root/pthread_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_support.c')
-rw-r--r--pthread_support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_support.c b/pthread_support.c
index 72e3250d..5b982239 100644
--- a/pthread_support.c
+++ b/pthread_support.c
@@ -635,7 +635,7 @@ STATIC void GC_remove_all_threads_but_me(void)
p -> next = 0;
# ifdef GC_DARWIN_THREADS
/* Update thread Id after fork (it is OK to call */
- /* GC_destroy_thread_local and GC_free_internal */
+ /* GC_destroy_thread_local and GC_free_inner */
/* before update). */
me -> stop_info.mach_thread = mach_thread_self();
# endif
@@ -643,7 +643,7 @@ STATIC void GC_remove_all_threads_but_me(void)
/* Some TLS implementations might be not fork-friendly, so */
/* we re-assign thread-local pointer to 'tlfs' for safety */
/* instead of the assertion check (again, it is OK to call */
- /* GC_destroy_thread_local and GC_free_internal before). */
+ /* GC_destroy_thread_local and GC_free_inner before). */
if (GC_setspecific(GC_thread_key, &me->tlfs) != 0)
ABORT("GC_setspecific failed (in child)");
# endif