Function riot_sys::thread_measure_stack_free
source · pub unsafe extern "C" fn thread_measure_stack_free(
stack: *const c_char
) -> usize
Expand description
@brief Measures the stack usage of a stack
Only works if the thread was created with the flag THREAD_CREATE_STACKTEST.
@param[in] stack the stack you want to measure. Try thread_get_stackstart(thread_get_active())
@return the amount of unused space of the thread’s stack