pub fn remove_inactive_task(task: Arc<TaskControlBlock>)
Expand description

the inactive(blocked) tasks are removed when the PCB is deallocated.(called by exit_current_and_run_next)