Function pros_sys::rtos::task_delete
source · pub unsafe extern "C" fn task_delete(task: task_t)Expand description
Removes a task from the RTOS real time kernel’s management. The task being deleted will be removed from all ready, blocked, suspended and event lists.
Memory dynamically allocated by the task is not automatically freed, and should be freed before the task is deleted.
\param task The handle of the task to be deleted. Passing NULL will cause the calling task to be deleted.