add support for thread scheduling (POSIX TPS option)
[musl] / src / thread / pthread_attr_getschedparam.c
index 5806bdf..de5fbfe 100644 (file)
@@ -2,6 +2,6 @@
 
 int pthread_attr_getschedparam(const pthread_attr_t *restrict a, struct sched_param *restrict param)
 {
-       param->sched_priority = 0;
+       param->sched_priority = a->_a_prio;
        return 0;
 }