pthread_getschedparam man page on BSDOS

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

PTHREAD_SCHEDPARAM(3)	    BSD Programmer's Manual	 PTHREAD_SCHEDPARAM(3)

NAME
     pthread_getschedparam, pthread_setschedparam - get/set pthread scheduling
     parameters

SYNOPSIS
     #include <pthread.h>
     #include <sched.h>

     int
     pthread_getschedparam(pthread_t thread, int *policy,
	     struct sched_param *param);

     int
     pthread_setschedparam(pthread_t thread, int policy,
	     const struct sched_param *param);

DESCRIPTION
     This interface is defined by IEEE Std1003.1c (``POSIX'').

     The pthread_getschedparam() and pthread_setschedparam() functions dynami-
     cally retrieve and establish the scheduling parameters for the thread
     specified by the thread ID thread. The policy field should be a schedul-
     ing policy as defined in sched.h. Currently SCHED_RR, SCHED_FIFO, and
     SCHED_OTHER are defined for use.  Currently the only valid field in param
     is sched_priority.

RETURN VALUES
     Upon successful completion, the pthread_getschedparam and
     pthread_setschedparam functions both return 0.  A non-zero result indi-
     cates that an error occurred.

ERRORS
     The pthread_getschedparam and pthread_setschedparam functions may fail
     and return the following error:

     [EINVAL]	   The value of a function argument is invalid.

SEE ALSO
     pthreads(3),  pthread_attr(3),  pthread_create(3),
     pthread_attr_getschedparam(3),  pthread_attr_setschedparam(3)

STANDARDS
     The pthread_getschedparam and pthread_setschedparam functions conform to
     IEEE Std1003.1c (``POSIX'').

HISTORY
     The pthread_getschedparam and pthread_setschedparam functions first ap-
     peared in BSD/OS 3.0.

4th Berkeley Distribution	 June 3, 1996				     1
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

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