1// This is free and unencumbered software released into the public domain. 2 3use crate::BlockResult; 4 5pub type ProcessID = usize; 6 7pub trait Process { 8 fn id(&self) -> ProcessID; 9 fn is_alive(&self) -> bool; 10 fn join(&self) -> BlockResult; 11}