aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--signal.c8
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 49f92108eb..9a44355501 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jul 10 13:58:08 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
+
+ * signal.c (install_nativethread_sighandler): commented out.
+
Mon Jul 10 09:29:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_clear_cache_for_remove): clear entries for included
diff --git a/signal.c b/signal.c
index 6441c0a8cf..8e76090487 100644
--- a/signal.c
+++ b/signal.c
@@ -819,6 +819,13 @@ install_sighandler(int signum, sighandler_t handler)
}
}
+#if 0
+/*
+ * If you write a handler which works on any native thread
+ * (even if the thread is NOT a ruby's one), please enable
+ * this function and use it to install the handler, instead
+ * of `install_sighandler()'.
+ */
#ifdef HAVE_NATIVETHREAD
static void
install_nativethread_sighandler(int signum, sighandler_t handler)
@@ -837,6 +844,7 @@ install_nativethread_sighandler(int signum, sighandler_t handler)
}
}
#endif
+#endif
static void
init_sigchld(int sig)