(pid: u64)
| 1446 | /// whose writer is gone belongs to a crashed consumer and is replayed. |
| 1447 | #[cfg(unix)] |
| 1448 | fn pid_alive(pid: u64) -> bool { |
| 1449 | std::path::Path::new("/proc").join(pid.to_string()).exists() |
| 1450 | } |
| 1451 | |
| 1452 | // Tests |
| 1453 |
no test coverage detected