Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLock ¶
type FileLock struct {
// contains filtered or unexported fields
}
FileLock object can be used to create locks that can be used to synchronise different processes running on the same machine. The current implementation of FileLock will always release all acquired locks once the process itself exits. NOTE: FileLock is not thread safe, since it is not meant to be used from multiple threads but from different processes instead!
Click to show internal directories.
Click to hide internal directories.