summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/stdio.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-05-20 17:45:24 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-05-20 17:45:24 +0200
commit4b51e4c142445c133d6075d2a68ce98e8ec6058b (patch)
tree07f97721f626ce051addf0d7fae512e586e9c619 /newlib/libc/include/stdio.h
parent450f557feee5dd4900e3fd4f16cbb6cabe89fbc6 (diff)
downloadcygnal-4b51e4c142445c133d6075d2a68ce98e8ec6058b.tar.gz
cygnal-4b51e4c142445c133d6075d2a68ce98e8ec6058b.tar.bz2
cygnal-4b51e4c142445c133d6075d2a68ce98e8ec6058b.zip
Fix thread priority handling
So far pthread::postcreate() only sets the thread priority at all, only if the inherit-scheduler attribute is PTHREAD_EXPLICIT_SCHED. This completely ignores the PTHREAD_INHERIT_SCHED case, since in contrast to POSIX, a thread does not inherit its priority from the creating thread, but always starts with THREAD_PRIORITY_NORMAL. pthread_getschedparam() only returns what's stored in the thread attributes, not the actual thread priority. This patch fixes both problems. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include/stdio.h')
0 files changed, 0 insertions, 0 deletions