mirror of https://github.com/mkerrisk/man-pages
clone.2: clone() does not execute fork handlers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
26cfa7d300
commit
c471c3636d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue