Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lock ¶
use fcntl POSIX locks for the most consistent behavior across platforms, and hopefully some compatibility over NFS and CIFS.
func LockBlocking ¶
LockBlocking is like Lock except that if the lock is currently contended then it blocks until it becomes available.
If the given context is cancelled then it returns early with the cancellation error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.