summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-08 09:02:21 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-08 09:02:21 +0000
commitc0144a2fbb5f5b7b90c8ab29a79653ce0a4319af (patch)
tree96628ff46365edf03cb878f8f26d1a4c42faf00c /eval.c
parent1ab8a925beec7cdce7669bcb7ee6fb16342b33fd (diff)
merge revision(s) 27983:
* io.c, eval.c, process.c: remove all condition of r26371. now, all platform use the same way. [Bug #3278][ruby-core:30167] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/eval.c b/eval.c
index 8abfbb8af6..e92b821dd3 100644
--- a/eval.c
+++ b/eval.c
@@ -12352,9 +12352,6 @@ 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__) && !defined(linux)
- pthread_atfork(0, 0, rb_thread_stop_timer);
-#endif
pthread_cond_wait(&start, &time_thread.lock);
}
pthread_cleanup_pop(1);