WindowsFileLock class
(Shortest import: from brian2.utils.filelock import WindowsFileLock)
- class brian2.utils.filelock.WindowsFileLock(lock_file, timeout=-1)[source]
Bases:
BaseFileLock
Uses the
msvcrt.locking()
function to hard lock the lock file on windows systems.