pthread_attr_getschedparam man page on IRIX

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



pthread_attr_setschedparam(3P)			pthread_attr_setschedparam(3P)

NAME
     pthread_attr_setschedparam, pthread_attr_getschedparam - manage thread
     scheduling priority attributes

C SYNOPSIS
     #include <pthread.h>

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

     int pthread_attr_getschedparam(const pthread_attr_t *attr,
	  struct sched_param *oparam);

DESCRIPTION
     Scheduling parameters exist to implement scheduling policies [see
     pthread_attr_setschedpolicy()].  The sched_priority member of the
     sched_param structure is a positive integer number (higher values
     indicate greater importance).  Priority limits should be retrieved using
     the interfaces sched_get_priority_min() and sched_get_priority_max().
     The default scheduling priority is the minimum for the policy.  A
     portable application should not assume more than 32 distinct priorities.

     The pthread_attr_setschedparam() function sets the thread scheduling
     parameters attribute in the object attr, from the values in param.	 In
     order to use the scheduling parameters from the attribute object the
     inherit attribute must be PTHREAD_EXPLICIT_SCHED (this is the default)
     [see pthread_attr_setinheritsched()].  The current scheduling parameters
     for the attribute object attr, are returned via the oparam parameter of
     pthread_attr_getschedparam().

DIAGNOSTICS
     On success pthread_attr_setschedparam() returns zero; otherwise an error
     number is returned:

     [EINVAL]	    The value of param is out of range.

     pthread_attr_getschedparam() always returns zero.

SEE ALSO
     pthread_attr_setinheritsched(3P), pthread_attr_setschedpolicy(3P),
     pthread_attr_setscope(3P), sched_get_priority_max(3P),
     sched_get_priority_min(3P).

									Page 1

[top]

List of man pages available for IRIX

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