delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/22/10:46:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 22 May 2005 16:46:30 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Is pthread_attr_setschedparam() not supported?
Message-ID: <20050522144630.GU2794@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <42907469 DOT 4000004 AT familiehaase DOT de> <20050522122519 DOT GR2794 AT calimero DOT vinschen DOT de> <4290836E DOT 3010103 AT familiehaase DOT de> <20050522131558 DOT GT2794 AT calimero DOT vinschen DOT de> <42908C57 DOT 4090200 AT familiehaase DOT de>
Mime-Version: 1.0
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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019