X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..b7266188b87f3620ec3f9f717e57194a7dd989fe:/osfmk/man/thread_resume.html diff --git a/osfmk/man/thread_resume.html b/osfmk/man/thread_resume.html index 93d51331f..52fd856d2 100755 --- a/osfmk/man/thread_resume.html +++ b/osfmk/man/thread_resume.html @@ -1 +1,41 @@ -

thread_resume


Function - Resume a thread.

SYNOPSIS

kern_return_t   thread_resume
                (thread_act_t                     target_thread);

PARAMETERS

target_thread
[in thread send right] The thread to be resumed.

DESCRIPTION

The thread_resume function decrements the suspend count for target_thread by one. The thread is resumed if its suspend count goes to zero. If the suspend count is still positive, thread_resume must be repeated until the count reaches zero.

NOTES

An attempt to lower the suspend count below zero is ignored.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: task_resume, task_suspend, thread_create, thread_info, thread_suspend, thread_terminate. \ No newline at end of file +

thread_resume

+
+

+Function - Resume a thread. +

SYNOPSIS

+
+kern_return_t   thread_resume
+                (thread_act_t                     target_thread);
+
+

PARAMETERS

+
+

+

target_thread +
+[in thread send right] +The thread to be resumed. +
+

DESCRIPTION

+

+The thread_resume function decrements the suspend count +for target_thread +by one. The thread is resumed if its suspend count goes to zero. +If the suspend +count is still positive, thread_resume must be repeated +until the count reaches +zero. +

NOTES

+

+An attempt to lower the suspend count below zero is ignored. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +task_resume, +task_suspend, +thread_create, +thread_info, +thread_suspend, +thread_terminate.