SoftFileLock class

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

class brian2.utils.filelock.SoftFileLock(lock_file, timeout=- 1)[source]

Bases: brian2.utils.filelock.BaseFileLock

Simply watches the existence of the lock file.