(rwlock: &PyRwLock<T>)
| 106 | /// after `fork()`, before any other thread is created. |
| 107 | #[cfg(unix)] |
| 108 | pub unsafe fn reinit_rwlock_after_fork<T: ?Sized>(rwlock: &PyRwLock<T>) { |
| 109 | unsafe { zero_reinit_after_fork(rwlock.raw()) } |
| 110 | } |
| 111 | |
| 112 | /// Reset a `PyThreadMutex` to its initial (unlocked, unowned) state after `fork()`. |
| 113 | /// |
no test coverage detected