()
| 169 | |
| 170 | # A thread waiting in the shared instance's acquire keeps that instance busy for the task too. |
| 171 | def write_once() -> None: |
| 172 | with shared.write_lock(timeout=_HOLD * 2): |
| 173 | pass |
| 174 | |
| 175 | waiting = threading.Thread(target=write_once) |
| 176 | waiting.start() |
nothing calls this directly
no test coverage detected