* src/mm/boehm-gc/pthread_stop_world.c (cacao_suspendhandler):
[cacao.git] / src / mm / boehm-gc / pthread_stop_world.c
index c24d251073bf36dad21974f70a85923f3258d3e4..5ec08c6cd652ce8983622db2facadc6b502ac448 100644 (file)
@@ -130,7 +130,7 @@ sem_t GC_suspend_ack_sem;
 #endif
 
 void GC_suspend_handler_inner(ptr_t sig_arg);
-int cacao_suspendhandler(void *);
+/* int cacao_suspendhandler(void *); */
 
 #if defined(IA64) || defined(HP_PA)
 extern void GC_with_callee_saves_pushed();
@@ -149,8 +149,8 @@ void GC_suspend_handler(int sig, siginfo_t *info, void *uctx)
 {
    int old_errno = errno;
 
-   if (cacao_suspendhandler(uctx))
-     return;
+/*    if (cacao_suspendhandler(uctx)) */
+/*      return; */
 
    GC_suspend_handler_inner((ptr_t)(word)sig);
    errno = old_errno;
@@ -559,6 +559,8 @@ void GC_stop_init() {
 #     endif
 }
 
+#endif
+
 /* Added for cacao */
 int GC_signum1()
 {
@@ -570,5 +572,3 @@ int GC_signum2()
     return SIG_THR_RESTART;
 }
 /* cacao END */
-
-#endif