summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 22:32:16 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 22:32:16 +0000
commit8d44e350f902986124f58d7786da86dfca1bc0d5 (patch)
tree13ce0332da855996fc66ba8dd2270072ba9e40b3 /process.c
parent2faba093569c034989b27f2380e67311670d225f (diff)
* process.c (proc_exec_v): terminate timer thread in advance.
[ruby-dev:30581], Thanks H. Holon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/process.c b/process.c
index 3aaf689621..14efe58d00 100644
--- a/process.c
+++ b/process.c
@@ -981,6 +981,7 @@ proc_exec_v(argv, prog)
}
#endif /* MSDOS or __human68k__ or __EMX__ */
before_exec();
+ rb_thread_cancel_timer();
execv(prog, argv);
after_exec();
return -1;