schedule_task_deletion

Function schedule_task_deletion 

Source
pub unsafe fn schedule_task_deletion(task_handle: *mut c_void)
Expand description

Schedules the given task for deletion.

Passing null will schedule the current task to be deleted.

ยงSafety

The task_handle must be a pointer to a task, obtained either by calling task_create or current_task.