1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* signal.c (install_nativethread_sighandler): commented out.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagai 2006-07-10 05:01:08 +00:00
parent c1699f2a2e
commit c258ca6012
2 changed files with 12 additions and 0 deletions

View file

@ -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> Mon Jul 10 09:29:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_clear_cache_for_remove): clear entries for included * eval.c (rb_clear_cache_for_remove): clear entries for included

View file

@ -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 #ifdef HAVE_NATIVETHREAD
static void static void
install_nativethread_sighandler(int signum, sighandler_t handler) install_nativethread_sighandler(int signum, sighandler_t handler)
@ -837,6 +844,7 @@ install_nativethread_sighandler(int signum, sighandler_t handler)
} }
} }
#endif #endif
#endif
static void static void
init_sigchld(int sig) init_sigchld(int sig)