NAME
task_resume - resumes designated task

SYNOPSIS
#include <mach.h>

kern_return_t task_resume(target_task)
task_t target_task;

DESCRIPTION
Decrements the task’s suspend count. If it becomes zero, all
threads with zero suspend counts in the task are resumed. The count
may not become negative.

ARGUMENTS
target_task The task to be resumed.

DIAGNOSTICS
KERN_SUCCESS The task has been resumed.

KERN_FAILURE The suspend count is already at zero.

KERN_INVALID_ARGUMENT target_task is not a task.

SEE ALSO
task_create(2), task_terminate(2), task_suspend(2), task_info(2),
thread_suspend(2), thread_resume(2), thread_info(2)