1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

comment clarification. Only Leopard or earlier has ENOTSUPP

issue if my kernel code reading is correct.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-07-09 04:18:09 +00:00
parent 1e696acc7e
commit 57da3d94aa

View file

@ -1010,9 +1010,9 @@ static void before_exec(void)
if (!forked_child) {
/*
* On old MacOS X, exec() may return ENOTSUPP if the process have
* multiple threads. Therefore we have to kill internal threads at once.
* [ruby-core: 10583]
* On Mac OS X 10.5.x (Leopard) or earlier, exec() may return ENOTSUPP
* if the process have multiple threads. Therefore we have to kill
* internal threads temporary. [ruby-core: 10583]
*/
rb_thread_stop_timer_thread(0);
}