pthread_single_np man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

PTHREAD_MULTI_NP(3)	 BSD Library Functions Manual	   PTHREAD_MULTI_NP(3)

NAME
     pthread_multi_np, pthread_single_np — switch between multi- and single-
     threaded scheduling modes

LIBRARY
     POSIX Threads Library (libpthread, -lpthread)

SYNOPSIS
     #include <pthread_np.h>

     int
     pthread_multi_np(void);

     int
     pthread_single_np(void);

DESCRIPTION
     The 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 VALUES
     The pthread_multi_np() and pthread_single_np functions always return 0.

SEE ALSO
     pthread_resume_all_np(3), pthread_suspend_all_np(3)

AUTHORS
     This manual page was written by Alexey Zelkin ⟨phantom@FreeBSD.org⟩.

BSD			       February 13, 2003			   BSD
[top]

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net