dope_runtime/process/
mod.rs1use std::num::NonZero;
2
3use dope_core::dope_sys::thread;
4
5mod context;
6pub mod failure;
7pub mod gate;
8mod layout;
9mod runtime;
10mod shutdown;
11mod terminal;
12pub mod watch;
13
14pub use context::Context;
15pub use layout::Layout;
16pub use runtime::Runtime;
17pub use shutdown::Shutdown;
18pub use terminal::Terminal;
19
20pub const STACK: NonZero<usize> = {
22 let bytes = NonZero::<usize>::MIN.saturating_add(8 * 1024 * 1024 - 1);
23 assert!(bytes.get() >= thread::STACK_MIN);
24 bytes
25};