diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-20 03:30:47 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-20 03:30:47 +0000 |
commit | a27ce746ad9fd36db1d38d9320fb603f5436052f (patch) | |
tree | dcda77bfa8125b490305e95ec42ce7fda64dbdc7 /process.c | |
parent | fbf2bcf37d52fa26304fe1d428bbfddb7d2409c1 (diff) | |
download | ruby-a27ce746ad9fd36db1d38d9320fb603f5436052f.tar.gz |
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
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 3 insertions, 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 |