4.9.   161

 pthread_setschedparam()    -
,        . 
thread   ,  policy   -
   param ,   . 
pthread_getschedparam()      -
   policy  param .    
   0,     . ,  -
     ,   . 4.7.

 4.7.     
    

                            

int pthread_getschedparam          thread    -
(pthread_t thread,                 

int *restrict policy,
struct sched_param *restrict
param) ;

int pthread_setschedparam           policy  
(pthread_t thread,                  ,   -

int policy,                       param
const struct sched__param

  policy    

*param) ;                              ,    -
 param,  , 
    

     -
    -
    -
   

  thread    -
 

     -
     -
  

int pthread_setschedprio           prio    
(pthread_t thread,       
int prio) ;

  prio  , 

    

     -
    -
   

  thread    -
 

     -
   
