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;
9pub mod lifecycle;
10mod runtime;
11mod shutdown;
12mod terminal;
13pub mod watch;
14
15pub use context::Context;
16pub use layout::Layout;
17pub use runtime::Runtime;
18pub use shutdown::Shutdown;
19pub use terminal::Terminal;
20
21pub const STACK: NonZero<usize> = {
23 let bytes = NonZero::<usize>::MIN.saturating_add(8 * 1024 * 1024 - 1);
24 assert!(bytes.get() >= thread::STACK_MIN);
25 bytes
26};