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

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

PTHREAD_SINGLE_NP(3)

Contents


NAME    [Toc]    [Back]

     pthread_single_np, pthread_multi_np - switch thread scheduling mode

SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>
     #include <pthread_np.h>

     int
     pthread_single_np(void);

     int
     pthread_multi_np(void);

DESCRIPTION    [Toc]    [Back]

     The pthread_single_np() function causes the process to enter
singlethreaded
 (non-POSIX) scheduling mode.

     The pthread_multi_np() function causes the process to return
to multithreaded
 scheduling mode.

RETURN VALUES    [Toc]    [Back]

     The pthread_single_np() and pthread_multi_np() functions return zero on
     success, or an error number on failure.

SEE ALSO    [Toc]    [Back]

      
      
     pthreads(3)

STANDARDS    [Toc]    [Back]

     The pthread_single_np() and pthread_multi_np() functions are
non-portable
     and  may  not be supported with the above semantics on other
POSIX systems.

OpenBSD     3.6                          March      21,      1999
[ Back ]
 Similar pages
Name OS Title
pthread_getschedparam Tru64 Obtains the current scheduling policy and scheduling parameters of a thread
pthread_single_np FreeBSD switch between multi- and singlethreaded scheduling modes
pthread_multi_np FreeBSD switch between multi- and singlethreaded scheduling modes
multi IRIX switch the system to multiuser mode
single IRIX switch the system to single-user mode
mi_switch FreeBSD switch to another thread context
cpu_switch FreeBSD switch to another thread context
cpu_throw FreeBSD switch to another thread context
pthread_setschedparam IRIX change thread scheduling
pthread_setrunon_np IRIX thread CPU scheduling affinity
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service