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

* eval.c (thread_init): used only for setitimer or threaded.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-01-27 05:25:13 +00:00
parent 185aca62a4
commit c0497c5b43
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,6 @@
Wed Jan 27 14:23:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Wed Jan 27 14:25:12 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (thread_init): used only for setitimer or threaded.
* ext/dl/dl.c (c_parray): get rid of a deprecated function.

2
eval.c
View file

@ -12417,7 +12417,9 @@ rb_thread_alloc(klass)
return th;
}
#if defined(HAVE_SETITIMER) || defined(_THREAD_SAFE)
static int thread_init;
#endif
#if defined(POSIX_SIGNAL)
#define CATCH_VTALRM() posix_signal(SIGVTALRM, catch_timer)