diff options
Diffstat (limited to 'include/private/pthread_support.h')
-rw-r--r-- | include/private/pthread_support.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/private/pthread_support.h b/include/private/pthread_support.h index 0ef917e7..b65a877e 100644 --- a/include/private/pthread_support.h +++ b/include/private/pthread_support.h @@ -93,5 +93,10 @@ GC_thread GC_lookup_thread(pthread_t id); void GC_stop_init(); +extern GC_bool GC_in_thread_creation; + /* Currently in thread creation. Protected by allocation lock. */ + /* While in thread creation, it is OK to run GC from unknown */ + /* thread. */ + #endif /* GC_PTHREADS && !GC_SOLARIS_THREADS.... etc */ #endif /* GC_PTHREAD_SUPPORT_H */ |