Skip to content

Commit 0b86581

Browse files
committed
_internal(feat[file_lock]): Add typed, asyncio-friendly file locking module
why: Enable safe concurrent access to shared resources across multiple processes, particularly for pytest-xdist parallel test execution. what: - Add FileLock class with context manager support - Add atomic_init() for one-time initialization with locking - Support both sync and async usage patterns
1 parent f0e705d commit 0b86581

1 file changed

Lines changed: 1025 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)