*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pthread_single_np (3)              
Title
Content
Arch
Section
 

PTHREAD_MULTI_NP(3)

Contents


NAME    [Toc]    [Back]

     pthread_multi_np, pthread_single_np -- switch between multi- and singlethreaded
 scheduling modes

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread_np.h>

     int
     pthread_multi_np(void);

     int
     pthread_single_np(void);

DESCRIPTION    [Toc]    [Back]

     The pthread_single_np() function switches the process to a singlethreaded
 mode, i.e., suspends all threads except the current.  The semantics
 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    [Toc]    [Back]

     The pthread_multi_np() and pthread_single_np functions always return 0.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_resume_all_np(3), pthread_suspend_all_np(3)

AUTHORS    [Toc]    [Back]

     This manual page was written by Alexey Zelkin <[email protected]>.


FreeBSD 5.2.1		       February 13, 2003		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pthread_multi_np OpenBSD switch thread scheduling mode
pthread_single_np OpenBSD switch thread scheduling mode
hunt OpenBSD a multi-player multi-terminal game
hunt NetBSD a multi-player multi-terminal game
sched_setscheduler Tru64 Sets the scheduling policy and scheduling parameters of the specified process (P1003.1b)
pthread_getschedparam Tru64 Obtains the current scheduling policy and scheduling parameters of a thread
pthread_setschedparam Tru64 Changes a thread's scheduling policy and scheduling parameters
ftn_mpio IRIX Fortran Multi-Threaded I/O
mekton IRIX multi-player networked game
locale Linux Description of multi-language support
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service