From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11266 invoked by alias); 15 Feb 2002 10:07:12 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 11173 invoked from network); 15 Feb 2002 10:07:10 -0000 Received: from unknown (HELO pink.pearsoft.ch) (195.141.66.36) by sources.redhat.com with SMTP; 15 Feb 2002 10:07:10 -0000 Received: from bulldozer.hq.acn-group.ch (dyna-ne-20.dial.eunet.ch [193.72.12.243]) by pink.pearsoft.ch (8.11.2/(Pearsoft Technologies AG 2001.20.14)) with ESMTP id g1FA73716736; Fri, 15 Feb 2002 11:07:04 +0100 Received: from localhost ([127.0.0.1]) by halftrack.hq.acn-group.ch with esmtp (Exim 3.34 #1 (Debian)) id 16bfGA-0000Zw-00; Fri, 15 Feb 2002 11:06:30 +0100 From: Robin Farine To: Nick Garnett Cc: eCos users In-Reply-To: References: <3C67B1CC.8D39A6E@acunia.com> <20020211130932.W26360@biferten.ma.tech.ascom.ch> <3C67BB2A.4AE775C0@acunia.com> <1013433728.26971.2.camel@halftrack> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: Fri, 15 Feb 2002 02:07:00 -0000 Message-Id: <1013767590.2406.6.camel@halftrack> Mime-Version: 1.0 Subject: Re: [ECOS] cyg_semaphore_post X-SW-Source: 2002-02/txt/msg00379.txt.bz2 On Mon, 2002-02-11 at 14:58, Nick Garnett wrote: [snip] > However there is the CYGIMP_KERNEL_SCHED_SORTED_QUEUES option that > allows all thread queues to be sorted. This was added primarily to > support POSIX, but you can enable it yourself if you want. Does the pthreads standard explicitely specify to enqueue threads in priority order (sorry, I don't have this paper)? How to avoid starvation then? Robin -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss