()
| 472 | /// Locks held by parent threads would cause infinite spin in the child. |
| 473 | #[cfg(unix)] |
| 474 | pub(crate) fn reset_all_after_fork() { |
| 475 | for lock in &LOCKS { |
| 476 | lock.store(0, Ordering::Release); |
| 477 | } |
| 478 | } |
| 479 | } |
| 480 | |
| 481 | #[cfg(not(feature = "threading"))] |
no test coverage detected