delorie.com/archives/browse.cgi | search |
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: | <42908DA6.8030709@familiehaase.de> |
Date: | Sun, 22 May 2005 15:48:22 +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: | "Gerrit P. Haase" <gerrit AT familiehaase DOT de> |
CC: | 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> <42908C57 DOT 4090200 AT familiehaase DOT de> |
In-Reply-To: | <42908C57.4090200@familiehaase.de> |
X-IsSubscribed: | yes |
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? Actually it is the NSPR - Netscape Portable Ryntime. I guess one of the two values indicates a higher priority, anyway, if I hardcode the return value it should be the same to define it with 14 or 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |