Query: pthread_multi_np
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PTHREAD_MULTI_NP(3) BSD Library Functions Manual PTHREAD_MULTI_NP(3)NAMEpthread_multi_np, pthread_single_np -- switch between multi- and single-threaded scheduling modesLIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread_np.h> int pthread_multi_np(void); int pthread_single_np(void);DESCRIPTIONThe pthread_single_np() function switches the process to a single-threaded mode, i.e., suspends all threads except the current. The seman- tics of this function is similar to pthread_suspend_all_np(3). The pthread_multi_np() function switches the process to a multi-threaded mode. The semantics of this function is similar to pthread_resume_all_np(3).RETURN VALUESThe pthread_multi_np() and pthread_single_np functions always return 0.SEE ALSOpthread_resume_all_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 |
---|
Libiqxmlrpc 0.8.7 (Default branch) |
MT-write r80417 (Default branch) |
MT-write r90214 (Default branch) |
script for multi-threaded bash processes |
Which process has created a file ? |