|| FreeBSD Library Functions Manual
suspend a thread
POSIX Threads Library (libpthread, -lpthread)
#include < pthread_np.h>
pthread_suspend_np( pthread_t tid);
pthread_suspend_np() function, called on an active thread, causes it to suspend.
RETURN VALUES If successful,
pthread_suspend_np() function returns 0. Otherwise, an error number is returned to indicate the error.
() function will fail if:
An attempt was made to suspend the current thread.
The value specified by the
tid argument is invalid.
No thread could be found corresponding to the thread ID specified by the
AUTHORS This manual page was written by