unlock: Locking/Unlocking

Description Usage Arguments Author(s) See Also Examples

Description

Unlocks a file previously locked via lock.

Usage

1
unlock(file.lock)

Arguments

file.lock

The FileLock object returned by lock.

Author(s)

Ivan Popivanov

See Also

lock

Examples

1
2
3
4
5
require(flock)

file.lock = lock("~/file.lock")
# Critical section code goes here
unlock(file.lock)

systematicinvestor/flock documentation built on May 31, 2019, 12:49 a.m.