This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Is pthread_attr_setschedparam() not supported?
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.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/