Skip to content

vllm_omni.host_weight_runtime.filesystem.locks

Stable POSIX advisory locks used by the filesystem store.

FileLock

One held flock whose inode is stable outside artifact directories.

path instance-attribute

path = path

close

close() -> None

FileLockTimeoutError

Bases: TimeoutError

lock_is_active

lock_is_active(path: Path) -> bool

Return a point-in-time contention snapshot without creating a lock file.