Skip to content

Commit 04a7b28

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 d4688b9 commit 04a7b28

1 file changed

Lines changed: 1025 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)