Function osThreadGetStackSpace

Source
pub unsafe extern "C" fn osThreadGetStackSpace(
    thread_id: osThreadId_t,
) -> u32
Expand description

Get available stack space of a thread based on stack watermark recording during execution. \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId. \return remaining stack space in bytes.