Skip to content

Commit 2aa57fe

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 - Use fcntl for Unix file locking
1 parent f0e705d commit 2aa57fe

File tree

1 file changed

+1025
-0
lines changed

1 file changed

+1025
-0
lines changed

0 commit comments

Comments
 (0)