unlock: Locking/Unlocking

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
6
7
8
## Not run: 
require(flock)

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

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.