aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_setschedparam.c
blob: 33d2625d0dda8fc6d79db7f5d3f98fa83d55c16a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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;
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif