From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3204 invoked by alias); 15 Feb 2002 16:18:13 -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 3120 invoked from network); 15 Feb 2002 16:18:10 -0000 Received: from unknown (HELO pink.pearsoft.ch) (195.141.66.36) by sources.redhat.com with SMTP; 15 Feb 2002 16:18:10 -0000 Received: from bulldozer.hq.acn-group.ch (dyna-ne-17.dial.eunet.ch [193.72.12.240]) by pink.pearsoft.ch (8.11.2/(Pearsoft Technologies AG 2001.20.14)) with ESMTP id g1FGI7h03357; Fri, 15 Feb 2002 17:18:07 +0100 Received: from localhost ([127.0.0.1]) by halftrack.hq.acn-group.ch with esmtp (Exim 3.34 #1 (Debian)) id 16bkx4-0007e1-00; Fri, 15 Feb 2002 17:11:10 +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> <1013767590.2406.6.camel@halftrack> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: Fri, 15 Feb 2002 08:18:00 -0000 Message-Id: <1013789470.25202.0.camel@halftrack> Mime-Version: 1.0 Subject: Re: [ECOS] cyg_semaphore_post X-SW-Source: 2002-02/txt/msg00384.txt.bz2 On Fri, 2002-02-15 at 12:39, Nick Garnett wrote: [snip] > As for starvation. I suspect that in real-life systems this is largely > a theoretical problem. If you really have high priority threads > hammering on a mutex at such a rate that waiting low priority threads > cannot get a look-in, you are already overloaded. The only solution is > to rewrite the application to reduce the amount of contention for this > resource. This seems a sensible argument, thanks for the clarification. 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