pub unsafe extern "C" fn hal_thread_delete(
    name: *const c_char
) -> c_int
Expand description

hal_thread_delete() deletes a realtime thread. ‘name’ is the name of the thread, which must have been created by ‘hal_create_thread()’. On success, hal_thread_delete() returns 0, on failure it returns a negative error code. Call only from realtime init code, not from user space or realtime code.