pub fn thread_list(buf: &mut [ThreadInfo]) -> Result<&[ThreadInfo]>Expand description
List all threads in the system.
Fills the provided buffer with thread info snapshots and returns the slice of entries actually written.
ยงErrors
Returns an error if the RTOS does not support thread enumeration.