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:
parent
1e696acc7e
commit
57da3d94aa
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue