akern-gkgoat-fork/kernel/src/proccess.rs

15 lines
261 B
Rust
Raw Normal View History

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