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!

FileLock is referenced in 1 repository