mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
document that fork doesn't copy other threads
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fbf2bcf37d
commit
a27ce746ad
1 changed files with 3 additions and 0 deletions
|
@ -1401,6 +1401,9 @@ rb_fork(status, chfunc, charg)
|
|||
* of its children or use <code>Process.detach</code> to register
|
||||
* disinterest in their status; otherwise, the operating system
|
||||
* may accumulate zombie processes.
|
||||
*
|
||||
* The thread calling fork is the only thread in the created child process.
|
||||
* fork doesn't copy other threads.
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue