FileLock class

(Shortest import: from brian2.utils.filelock import FileLock)

brian2.utils.filelock.FileLock

Alias for the lock, which should be used for the current platform. On Windows, this is an alias for WindowsFileLock, on Unix for UnixFileLock and otherwise for SoftFileLock.