Query: pthread_resume_np
OS: freebsd
Section: 3
Links: freebsd man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PTHREAD_RESUME_NP(3) BSD Library Functions Manual PTHREAD_RESUME_NP(3)NAMEpthread_resume_np -- resume suspended threadLIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread_np.h> int pthread_resume_np(pthread_t tid);DESCRIPTIONThe pthread_resume_np() function, called on a suspended thread, causes it to resume. If a thread specified by the tid argument is not sus- pended, no actions will be performed.RETURN VALUESIf successful, pthread_resume_np() function returns 0. Otherwise, an error number is returned to indicate the error.ERRORSThe pthread_resume_np() function will fail if: [EINVAL] The value specified by the tid argument is invalid. [ESRC] No thread could be found corresponding to the thread ID specified by the tid argument.SEE ALSOpthread_attr_setcreatesuspend_np(3), pthread_resume_all_np(3), pthread_suspend_all_np(3), pthread_suspend_np(3)AUTHORSThis manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.BSDFebruary 13, 2003 BSD