pthread_attr_getinheritsched 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_setinheritsched(3P)	      pthread_attr_setinheritsched(3P)

NAME
     pthread_attr_setinheritsched, pthread_attr_getinheritsched - thread
     scheduling inheritance attributes

C SYNOPSIS
     #include <pthread.h>

     int pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit);

     int pthread_attr_getinheritsched(const pthread_attr_t *attr,
	  int *inherit);

DESCRIPTION
     By default, a newly created thread has its scheduling attributes
     initialized from the attributes object used to create it (or from
     defaults if none is specified) [see pthread_create()].  As an
     alternative, the new thread may inherit the current scheduling attributes
     from the thread which creates it.	The scheduling attributes which may be
     inherited are the scheduling policy [see pthread_attr_setschedpolicy()]
     and scheduling parameters [see pthread_attr_setschedparam()].

     The pthread_attr_setinheritsched() function sets the thread scheduling
     inheritance attribute in the object attr to the value of inherit.	The
     value must be PTHREAD_INHERIT_SCHED if the attributes are to be inherited
     or PTHREAD_EXPLICIT_SCHED if the attribute values are to be taken from
     the object (this is the default).	The current scheduling inheritance for
     the attribute object attr, is returned via the inherit parameter of
     pthread_attr_getinheritsched().

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

     [EINVAL]	    The value of inherit is neither PTHREAD_INHERIT_SCHED nor
		    PTHREAD_EXPLICIT_SCHED.

     pthread_attr_getinheritsched() always returns zero.

SEE ALSO
     pthread_create(3P), pthread_attr_setschedpolicy(3P),
     pthread_attr_setschedparam(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