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