Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Stdio
Stdio.File

Method Stdio.File()->lock()


Method lock

Stdio.FileLockKey lock()
Stdio.FileLockKey lock(int(0..1) is_recursive)

Description

Makes an exclusive file lock on this file.

See also

trylock()