Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 22 May 2005 16:46:30 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Is pthread_attr_setschedparam() not supported?
Message-ID: <20050522144630.GU2794@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <42907469.4000004@familiehaase.de> <20050522122519.GR2794@calimero.vinschen.de> <4290836E.3010103@familiehaase.de> <20050522131558.GT2794@calimero.vinschen.de> <42908C57.4090200@familiehaase.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42908C57.4090200@familiehaase.de>
User-Agent: Mutt/1.4.2i

On May 22 15:42, Gerrit P. Haase wrote:
> 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?

 -14 to +15
 ^^^
 negative


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/

