diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-27 05:25:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-27 05:25:13 +0000 |
commit | c0497c5b43f7d091ba8ed5c7a1995e204398a7cd (patch) | |
tree | 383cefb97c0ed73b10ef78625dc75526420889fb /eval.c | |
parent | 185aca62a4a1bc66021112750ab9b6b652829d8e (diff) |
* 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
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |