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