summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/process.c b/process.c
index 8a01eee3f1..8f1a6fd77d 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