Get a thread's scheduling parameters
#include <pthread.h> int pthread_getschedparam( const pthread_t thread, int *policy, struct sched_param *param );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The pthread_getschedparam() function gets the scheduling policy and associated scheduling parameters of thread thread and places them in the locations that policy and param point to.
As a QNX extension, policy can be NULL, in which case the function doesn't try to store the scheduling policy.
POSIX 1003.1 THR TPS
pthread_create(), pthread_setschedparam(), pthread_setschedprio(), sched_param
“Thread scheduling” in the QNX Neutrino Microkernel chapter of the System Architecture guide
“Scheduling policies” in the Programming Overview chapter of the QNX Neutrino Programmer's Guide