projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for thread scheduling (POSIX TPS option)
[musl]
/
src
/
thread
/
pthread_attr_getschedparam.c
diff --git
a/src/thread/pthread_attr_getschedparam.c
b/src/thread/pthread_attr_getschedparam.c
index
5806bdf
..
de5fbfe
100644
(file)
--- a/
src/thread/pthread_attr_getschedparam.c
+++ b/
src/thread/pthread_attr_getschedparam.c
@@
-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;
}