]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clone.2: clone() does not execute fork handlers
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 19 Jan 2017 21:04:34 +0000 (10:04 +1300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 24 Jan 2017 11:02:47 +0000 (00:02 +1300)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/clone.2

index 323e61cec597e9fbcffbbf6a886c5b2cbdf4ef87..a265bd1365c5de45fcf6d108ca21abadff21a120 100644 (file)
@@ -1122,6 +1122,12 @@ system call can be used to test whether two processes share various
 resources such as a file descriptor table,
 System V semaphore undo operations, or a virtual address space.
 
+
+Handlers registered using
+.BR pthread_atfork (3)
+are not executed during a call to
+.BR clone ().
+
 In the Linux 2.4.x series,
 .B CLONE_THREAD
 generally does not make the parent of the new thread the same