zephyr::sys::thread

Function stack_len

source
pub const fn stack_len(size: usize) -> usize
Expand description

Adjust the stack size for alignment. Note that, unlike the C code, we don’t include the reservation in this, as it has its own fields in the struct.