Function - Resume a thread.
kern_return_t thread_resume (thread_act_t target_thread);
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.
An attempt to lower the suspend count below zero is ignored.
Only generic errors apply.
Functions: task_resume, task_suspend, thread_create, thread_info, thread_suspend, thread_terminate.