aboutsummaryrefslogtreecommitdiffstats
path: root/gc/solaris_pthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc/solaris_pthreads.c')
-rw-r--r--gc/solaris_pthreads.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gc/solaris_pthreads.c b/gc/solaris_pthreads.c
index a8b33f8..bae7719 100644
--- a/gc/solaris_pthreads.c
+++ b/gc/solaris_pthreads.c
@@ -13,10 +13,8 @@
/*
* Support code for Solaris threads. Provides functionality we wish Sun
* had provided. Relies on some information we probably shouldn't rely on.
- * Modified Peter C. for Solaris Posix Threads.
+ * Modified by Peter C. for Solaris Posix Threads.
*/
-/* Boehm, September 14, 1994 4:44 pm PDT */
-/* $Id: solaris_pthreads.c,v 1.4 2001/12/20 00:37:29 ukai Exp $ */
# if defined(GC_SOLARIS_PTHREADS)
# include "private/gc_priv.h"
@@ -89,8 +87,8 @@ GC_pthread_create(pthread_t *new_thread,
}
LOCK();
- if (!GC_thr_initialized) {
- GC_thr_init();
+ if (!GC_is_initialized) {
+ GC_init_inner();
}
GC_multithreaded++;