OSDN Git Service

Allow darwin targeted ports to build tk, itcl and libgui.
[pf3gnuchains/gcc-fork.git] / boehm-gc / aix_irix_threads.c
index d8ac345..5d27afd 100644 (file)
  * as a base instead.
  */
 
+# include "private/gc_priv.h"
+
 # if defined(GC_IRIX_THREADS) || defined(GC_AIX_THREADS)
 
-# include "private/gc_priv.h"
 # include <pthread.h>
 # include <assert.h>
 # include <semaphore.h>
@@ -422,12 +423,7 @@ void GC_thr_init()
     struct sigaction act;
 
     if (GC_thr_initialized) return;
-#if 0
-    /* unfortunately, GC_init_inner calls us without the lock, so
-     * this assertion is not always true. */
-    /* Why doesn't GC_init_inner hold the lock? - HB           */
     GC_ASSERT(I_HOLD_LOCK());
-#endif
     GC_thr_initialized = TRUE;
 #ifndef GC_AIX_THREADS
     (void) sigaction(SIG_SUSPEND, 0, &act);