![]() |
![]() |
![]() |
Get thread inherit scheduling attribute
#include <pthread.h> int pthread_attr_getinheritsched( const pthread_attr_t* attr, int* inheritsched );
libc
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.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
pthread_attr_setinheritsched(), pthread_attr_init(), pthread_create().
![]() |
![]() |
![]() |