summaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-20 03:30:47 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-20 03:30:47 +0000
commit27b712310d25fae96e7cb620d28304bbe8d8fa7a (patch)
treedcda77bfa8125b490305e95ec42ce7fda64dbdc7 /process.c
parent746200ae46d670f0bd4b9939425c052f0fdf44bd (diff)
downloadruby-27b712310d25fae96e7cb620d28304bbe8d8fa7a.tar.gz
ruby-27b712310d25fae96e7cb620d28304bbe8d8fa7a.tar.xz
ruby-27b712310d25fae96e7cb620d28304bbe8d8fa7a.zip
document that fork doesn't copy other threads
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/process.c b/process.c
index cf5d824f9..05dee4521 100644
--- a/process.c
+++ b/process.c
@@ -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