(fd: int, operation: int)
| 216 | acquired: list[bool] = [] |
| 217 | |
| 218 | def flock_missing(fd: int, operation: int) -> None: |
| 219 | if threading.current_thread() is waiter: |
| 220 | in_flock.set() |
| 221 | fell_back.wait(timeout=5) |
| 222 | raise OSError(ENOSYS, f"Function not implemented for {fd} with {operation}") |
| 223 | |
| 224 | def acquire_after_peer_fallback() -> None: |
| 225 | with lock.acquire(timeout=1): |