8 lines
180 B
C
8 lines
180 B
C
|
#include "pthread_impl.h"
|
||
|
|
||
|
int pthread_attr_setschedparam(pthread_attr_t *restrict a, const struct sched_param *restrict param)
|
||
|
{
|
||
|
a->_a_prio = param->sched_priority;
|
||
|
return 0;
|
||
|
}
|