From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23147 invoked by alias); 13 Apr 2011 00:02:38 -0000 Received: (qmail 23135 invoked by uid 22791); 13 Apr 2011 00:02:37 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hermes.mlbassoc.com (HELO mail.chez-thomas.org) (64.234.241.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Apr 2011 00:02:30 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id EA83A166033F; Tue, 12 Apr 2011 18:02:17 -0600 (MDT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id 9C607166033F; Tue, 12 Apr 2011 18:02:14 -0600 (MDT) Message-ID: <4DA4E806.8000004@mlbassoc.com> Date: Wed, 13 Apr 2011 00:02:00 -0000 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: moktar_bouain CC: ecos-devel@ecos.sourceware.org Subject: Re: I have a problem with the priority of ecos References: <31383032.post@talk.nabble.com> <31383526.post@talk.nabble.com> In-Reply-To: <31383526.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2011-04/txt/msg00003.txt.bz2 On 04/12/2011 05:02 PM, moktar_bouain wrote: > > Hi Thomas, > I use bitmap scheduling with 31 level for priority(by default). > I tried with diag_printf() but the same thing. What else is configured in your system (what template did you build from)? My guess is that there is another thread already at priority 10. I still don't know why you think that the threads should yield to each other after each printf(). Note: it's polite to quote at least part of the message you are replying to so that it's easier to understand the context of your comments. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------