delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/22/09:43:14

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
Message-ID: <42908C57.4090200@familiehaase.de>
Date: Sun, 22 May 2005 15:42:47 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Is pthread_attr_setschedparam() not supported?
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>
In-Reply-To: <20050522131558.GT2794@calimero.vinschen.de>
X-IsSubscribed: yes

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/

- Raw text -


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