Issue #2739 has been updated by Motohiro KOSAKI.
Hm
I think child process doesn't need to call rb_thread_stop_timer().
Can you please try following patch?
diff --git a/eval.c b/eval.c
index 55dbb8c..31e6a33 100644
--- a/eval.c
+++ b/eval.c
@@ -12343,7 +12343,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;
- pthread_atfork(0, 0, rb_thread_stop_timer);
pthread_cond_wait(&start, &time_thread.lock);
}
pthread_cleanup_pop(1);
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2739
on 2010-03-06 20:24
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.