about summary refs log tree commit diff
path: root/src/thread/pthread_attr_getschedparam.c
blob: de5fbfe29e3debc798de791bd05f05ea1174fd85 (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

int pthread_attr_getschedparam(const pthread_attr_t *restrict a, struct sched_param *restrict param)
{
	param->sched_priority = a->_a_prio;
	return 0;
}