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
commitda3fbb34caf9c17ad53ffb71a251c72c6891e610 (patch)
tree97d4be55527f33dd311429331c60759ec568f81e /process.c
parenta270dd1f8b1a17a374b76ab019847b08302cbce9 (diff)
downloadruby-da3fbb34caf9c17ad53ffb71a251c72c6891e610.tar.gz
ruby-da3fbb34caf9c17ad53ffb71a251c72c6891e610.tar.xz
ruby-da3fbb34caf9c17ad53ffb71a251c72c6891e610.zip
document that fork doesn't copy other threads
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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 8a01eee3f..8f1a6fd77 100644
--- a/process.c
+++ b/process.c
@@ -1256,6 +1256,9 @@ rb_f_exec(argc, argv)
* 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