HomeFreeBSD

Revert (once again, and hopefully for the last time) to flock(2) locks.

Description

Revert (once again, and hopefully for the last time) to flock(2) locks.
The problem with fcntl(2) locks is that they are not inherited by child
processes. This breaks pidfile(3), where the common idiom is to open
and lock the PID file before daemonizing.

Details

Provenance
desAuthored on Jun 6 2009, 6:47 PM
Parents
rGa27c52a943d6: Add missing .Pp
Branches
Unknown
Tags
Unknown

Event Timeline