Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLockFile ¶
CreateLockFile tries to create a file with given name and acquire an exclusive lock on it. If the file already exists AND is still locked, it will fail.
func GetLockFilePid ¶
If filename is a lock file, returns the PID of the process locking it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.