ICI Modules: sys: flock
Modules by name : by typeSynopsis
sys.flock(int, int)Description
Apply or remove an advisory lock on the file associated with the given file descriptor. The second argument specifies the type of locking operation and may be one of,
- sys.LOCK_SH
- sys.LOCK_EX
- sys.LOCK_NB
- sys.LOCK_UN