Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

Method Stdio.Fd()->lock()


Method lock

Stdio.FileLockKey lock()
Stdio.FileLockKey lock(bool is_recursive)

Description

Makes an exclusive file lock on this file.

See also

trylock()