|
NAMEpthread_multi_np ,
pthread_single_np —
switch between multi- and single-threaded scheduling modes
LIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread_np.h>
int
int
DESCRIPTIONThepthread_single_np () function switches the process to
a single-threaded mode, i.e., suspends all threads except the current. The
semantics of this function is similar to
pthread_suspend_all_np(3).
The RETURN VALUESThepthread_multi_np () and
pthread_single_np functions always return 0.
SEE ALSOpthread_np(3), pthread_resume_all_np(3), pthread_suspend_all_np(3)AUTHORSThis manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.
Visit the GSP FreeBSD Man Page Interface. |