OptionalfileOptionaluuidUUID Unique to this lock instance
StaticeventsListen for events from this process
StaticfilesAll Files that are handled by this process
StaticmutexMutex to stop same-process race conditions
Unlock the File that is locked by this instance
ProtectedunlockHelper function for the unlock-cleanup
Unlink the file?
Protected StaticcheckCheck the status of the lockfile
The file to use as the LockFile
Optionaluuid: stringProtected StaticcreateFunction create the path and lock file
The file to use as the LockFile
StaticlockProtected StaticwaitWait for the Lock file to become available
The file to use as the LockFile
File locked by this instance