* pthread_stop_world.c (GC_suspend_all, GC_start_world): Log
pthread_kill error code on failure if DEBUG_THREADS.
case 0:
break;
default:
+# ifdef DEBUG_THREADS
+ GC_log_printf("pthread_kill failed at suspend,"
+ " errcode=%d\n", result);
+# endif
ABORT("pthread_kill failed");
}
# endif
case 0:
break;
default:
+# ifdef DEBUG_THREADS
+ GC_log_printf("pthread_kill failed at resume,"
+ " errcode=%d\n", result);
+# endif
ABORT("pthread_kill failed");
}
# endif