public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: moktar_bouain <moktarbouain@yahoo.fr>
To: ecos-devel@ecos.sourceware.org
Subject: Re: I have a problem  with  the priority of ecos
Date: Wed, 13 Apr 2011 00:36:00 -0000	[thread overview]
Message-ID: <31383910.post@talk.nabble.com> (raw)
In-Reply-To: <4DA4E806.8000004@mlbassoc.com>



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().

I used eCos for Leon3 (architecture SPARC) with  the  simulator Tsim.
I created  this simple program that uses 2 threads.
The problem if there a difference of 10 between two levels of priority, the
program it works(5 and  15 or 10 and 20). But if less than 10 it does not
work





-- 
View this message in context: http://old.nabble.com/I-have-a-problem--with--the-priority-of-ecos-tp31383032p31383910.html
Sent from the Sourceware - ecos-devel mailing list archive at Nabble.com.

  reply	other threads:[~2011-04-13  0:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 21:25 moktar_bouain
2011-04-12 21:33 ` Gary Thomas
2011-04-12 23:02 ` moktar_bouain
2011-04-13  0:02   ` Gary Thomas
2011-04-13  0:36     ` moktar_bouain [this message]
2011-04-20  8:40       ` Jürgen Lambrecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31383910.post@talk.nabble.com \
    --to=moktarbouain@yahoo.fr \
    --cc=ecos-devel@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).