diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-24 15:08:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-24 15:08:24 +0000 |
commit | c65833e67ab539ca13107892ab65d2085afd04c1 (patch) | |
tree | 1e7190dcf67225b41a2f8d91ba2f980f95224f90 /thread.c | |
parent | 2bb558f184270515e5fc529b6b077182d8b91d0e (diff) | |
download | ruby-c65833e67ab539ca13107892ab65d2085afd04c1.tar.gz ruby-c65833e67ab539ca13107892ab65d2085afd04c1.tar.xz ruby-c65833e67ab539ca13107892ab65d2085afd04c1.zip |
* process.c (rb_fork): stops the timer thread during fork.
[ruby-dev:37117]
* thread.c (rb_thread_start_timer_thread): timer thread needs
system_working to be set.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2371,6 +2371,7 @@ rb_thread_reset_timer_thread(void) void rb_thread_start_timer_thread(void) { + system_working = 1; rb_thread_create_timer_thread(); } |