summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-10 05:01:08 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-10 05:01:08 +0000
commitc258ca6012ac4df80e1387b780e4586a6496554a (patch)
tree3e7f5e7d7de29bba2c229fb8cea32b445e27d92e /signal.c
parentc1699f2a2ec9ecfe22fbfde7bd591c4715b317cf (diff)
downloadbundler-c258ca6012ac4df80e1387b780e4586a6496554a.tar.gz
* signal.c (install_nativethread_sighandler): commented out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c8
1 files changed, 8 insertions, 0 deletions
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)