Man Page: pthread_suspend_np
Operating Environment: freebsd
Section: 3
PTHREAD_SUSPEND_NP(3) BSD Library Functions Manual PTHREAD_SUSPEND_NP(3)NAMEpthread_suspend_np -- suspend a threadLIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread_np.h> int pthread_suspend_np(pthread_t tid);DESCRIPTIONThe pthread_suspend_np() function, called on an active thread, causes it to suspend.RETURN VALUESIf successful, pthread_suspend_np() function returns 0. Otherwise, an error number is returned to indicate the error.ERRORSThe pthread_suspend_np() function will fail if: [EDEADLK] An attempt was made to suspend the current thread. [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_resume_all_np(3), pthread_resume_np(3), pthread_suspend_all_np(3)AUTHORSThis manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.BSDFebruary 13, 2003 BSD
| Similar Topics in the Unix Linux Community |
|---|
| Unix File Permissions |
| Scripts without shebang |
| A simple UNIXtime component in Vue.js |
| Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD? |
| Controlling user input |