[Previous] [Contents] [Next]

pthread_attr_getinheritsched()

Get thread inherit scheduling attribute

Synopsis:

#include <pthread.h>

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

Library:

libc

Description:

The pthread_attr_getinheritsched() function gets the thread inherit scheduling attribute from the attribute object attr and returns it in inheritsched.

The inherit scheduling attribute determines whether a thread inherits the scheduling policy of its parent.

See the pthread_attr_setinheritsched() function for possible values for inheritsched.

Returns:

EOK
Success.

Classification:

POSIX 1003.1 (Threads)

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

pthread_attr_setinheritsched(), pthread_attr_init(), pthread_create().


[Previous] [Contents] [Next]