Is pthread_attr_setschedparam() not supported?
Gerrit P. Haase
gerrit@familiehaase.de
Sun May 22 15:20:00 GMT 2005
Corinna Vinschen wrote:
> On May 22 15:04, Gerrit P. Haase wrote:
>
>>And why is this in /usr/include/sys/features.h:87 then:
>># define _POSIX_THREAD_PRIORITY_SCHEDULING 1
>>?
>
>
> Yup, you're right, I just replied without looking into the source first
> (which, btw., is always a good way of figuring stuff out by yourself,
> really).
>
> pthread_attr_setschedparam is supported and ENOTSUPP is returned if the
> sched_priority member is not in the range -14 - 15.
What is the difference between 14 and 15? I see in the NSRP source that
it is hardcoded to 10 for Neutrino systems, what do you think is better,
set it to 14 or to 15?
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list