NAME pthread_getscheduler - Obtains the current scheduling policy of a thread SYNOPSIS #include <pthread.h> int pthread_getscheduler( pthread_t thread ); PARAMETERS thread Thread whose scheduling policy is obtained. DESCRIPTION The pthread_getscheduler() routine obtains the current scheduling policy of a thread. The current scheduling policy of a thread is different from the initial scheduling policy if the pthread_setscheduler() routine is called. RETURN VALUES The current scheduling policy value of the thread specified in thread is returned. (See the pthread_setscheduler() reference page for valid values.) If the function fails, errno may be set to one of the following values: Return Error Description ______________________________________________________________ Current scheduling policy Successful completion. -1 [EINVAL] The value specified by thread is invalid. -1 [ESRCH] The value specified by thread does not refer to an existing thread. RELATED INFORMATION FUNCTIONS: pthread_attr_setscheduler pthread_setscheduler