diff options
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) |