diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-18 04:52:27 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-18 04:52:27 +0000 |
commit | c50494d6bb7757c8670b554118f8f40df9f6682f (patch) | |
tree | 272ea2550ec7fb1467be57976c13ae95142eb9b7 /eval.c | |
parent | ae1951a030cd25bb6f3fecaf156c8bd047a91648 (diff) |
* io.c, eval.c, process.c: add linux to r26371's condition.
patched by Motohiro KOSAKI [ruby-core:28151]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12524,7 +12524,7 @@ rb_thread_start_timer() safe_mutex_lock(&time_thread.lock); if (pthread_create(&time_thread.thread, 0, thread_timer, args) == 0) { thread_init = 1; -#if !defined(__NetBSD__) && !defined(__APPLE__) +#if !defined(__NetBSD__) && !defined(__APPLE__) && !defined(linux) pthread_atfork(0, 0, rb_thread_stop_timer); #endif pthread_cond_wait(&start, &time_thread.lock); |