Skip to main content

schedule_task_deletion

Function schedule_task_deletion 

Source
pub unsafe fn schedule_task_deletion(task_handle: Option<ThreadPtr>)
Expand description

Schedules the given task for deletion.

Passing None 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.