mirror of https://github.com/mkerrisk/man-pages
clone.2: Add more detail on the meaning of CLONE_SYVSEM
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0d829b7610
commit
5ada4b9491
15
man2/clone.2
15
man2/clone.2
|
@ -594,10 +594,19 @@ altogether in Linux 2.6.38.
|
||||||
If
|
If
|
||||||
.B CLONE_SYSVSEM
|
.B CLONE_SYSVSEM
|
||||||
is set, then the child and the calling process share
|
is set, then the child and the calling process share
|
||||||
a single list of System\ V semaphore undo values (see
|
a single list of System V semaphore adjustment
|
||||||
|
.RI ( semadj )
|
||||||
|
values (see
|
||||||
.BR semop (2)).
|
.BR semop (2)).
|
||||||
If this flag is not set, then the child has a separate undo list,
|
In this case, the shared list accumulates
|
||||||
which is initially empty.
|
.I semadj
|
||||||
|
values across all processes sharing the list,
|
||||||
|
and semaphore adjustments are performed only when the last process
|
||||||
|
that is sharing the list terminates (or ceases sharing the list using
|
||||||
|
.BR unshare (2)).
|
||||||
|
If this flag is not set, then the child has a separate
|
||||||
|
.I semadj
|
||||||
|
list that is initially empty.
|
||||||
.TP
|
.TP
|
||||||
.BR CLONE_THREAD " (since Linux 2.4.0-test8)"
|
.BR CLONE_THREAD " (since Linux 2.4.0-test8)"
|
||||||
If
|
If
|
||||||
|
|
Loading…
Reference in New Issue