Timeout class

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

class brian2.utils.filelock.Timeout(lock_file)[source]

Bases: TimeoutError

Raised when the lock could not be acquired in timeout seconds.

Attributes

lock_file

The path of the file lock.

Details

lock_file

The path of the file lock.