diff options
Diffstat (limited to 'include/gc.h')
-rw-r--r-- | include/gc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gc.h b/include/gc.h index 4336e787..942436e1 100644 --- a/include/gc.h +++ b/include/gc.h @@ -1321,6 +1321,8 @@ GC_API void * GC_CALL GC_call_with_stack_base(GC_stack_base_func /* fn */, /* Return non-zero (TRUE) if and only if the calling thread is */ /* registered with the garbage collector. */ + /* If the thread is finished (e.g. running in a destructor and not */ + /* registered manually again), it is considered as not registered. */ GC_API int GC_CALL GC_thread_is_registered(void); /* Unregister the current thread. Only an explicitly registered */ |