diff options
-rw-r--r-- | pthread_support.c | 4 | ||||
-rw-r--r-- | win32_threads.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pthread_support.c b/pthread_support.c index 88c458b5..8395f897 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -774,7 +774,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 @@ -788,7 +788,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). */ res = GC_setspecific(GC_thread_key, &me->tlfs); if (COVERT_DATAFLOW(res) != 0) ABORT("GC_setspecific failed (in child)"); diff --git a/win32_threads.c b/win32_threads.c index 8b3e09e6..5ae72fb8 100644 --- a/win32_threads.c +++ b/win32_threads.c @@ -1120,7 +1120,7 @@ GC_API void * GC_CALL GC_call_with_gc_active(GC_fn_type fn, # if defined(THREAD_LOCAL_ALLOC) && !defined(USE_CUSTOM_SPECIFIC) /* For Cygwin, we need to re-assign thread-local pointer to */ /* 'tlfs' (it is OK to call GC_destroy_thread_local and */ - /* GC_free_internal before this action). */ + /* GC_free_inner before this action). */ if (GC_setspecific(GC_thread_key, &me->tlfs) != 0) ABORT("GC_setspecific failed (in child)"); # endif |