mirror of https://github.com/mkerrisk/man-pages
fork.2: Add notes on inheritance of flock() and OFD locks across fork()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d068eb3b73
commit
5879ccc0d3
|
@ -72,8 +72,13 @@ The child's set of pending signals is initially empty
|
|||
The child does not inherit semaphore adjustments from its parent
|
||||
.RB ( semop (2)).
|
||||
.IP *
|
||||
The child does not inherit record locks from its parent
|
||||
The child does not inherit process-associated record locks from its parent
|
||||
.RB ( fcntl (2)).
|
||||
(On the other hand, it does inherit
|
||||
.BR fcntl (2)
|
||||
open file description locks and
|
||||
.BR flock (2)
|
||||
locks from its parent.)
|
||||
.IP *
|
||||
The child does not inherit timers from its parent
|
||||
.RB ( setitimer (2),
|
||||
|
|
Loading…
Reference in New Issue