pthread_attr_setschedparam man page on BSDi

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

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

NAME
     pthread_attr_getschedparam, pthread_attr_setschedparam - pthread schedul-
     ing parameter attribute objects

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

     int
     pthread_attr_getschedparam(pthread_attr_t *attr,
	     struct sched_param *param);

     int
     pthread_attr_setschedparam(pthread_attr_t *attr,
	     const struct sched_param *param);

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

     The pthread_attr_getschedparam() and pthread_attr_setschedparam() func-
     tions retrieve and establish the scheduling parameters attribute in the
     pthread creation attribute pointed to by attr. Currently the only valid
     field in param is sched_priority.

RETURN VALUES
     Upon successful completion the pthread_attr_getschedparam and
     pthread_attr_setschedparam functions both return 0.  A non-zero result
     indicates an error occurred.

ERRORS
     The pthread_attr_getschedparam and pthread_attr_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)

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

HISTORY
     The pthread_attr_getschedparam and pthread_attr_setschedparam functions
     first appeared in BSD/OS 3.0.

4th Berkeley Distribution	 June 3, 1996				     1
[top]

List of man pages available for BSDi

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