ableos/kernel/src/proccess.rs

14 lines
260 B
Rust
Raw Normal View History

//! Platform agnostic process
/// A process ID
pub type PID = u64;
#[repr(C)]
/// Signals that can be sent to a process
pub enum Signals {
/// Terminate the process
Terminate,
/// Shutdown the process and allow it to shutdown cleanly
Quit,
}