From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jonathan ILIAS-PILLET <ismael@domain.hid>
Cc: armadeus-forum@domain.hid, xenomai@xenomai.org
Subject: Re: [Xenomai-help] Program hangs using "rt_task_sleep" in a particular way
Date: Mon, 07 Mar 2011 11:15:00 +0100 [thread overview]
Message-ID: <4D74B024.5010008@domain.hid> (raw)
In-Reply-To: <AANLkTik2mjdhFGGedWVVT=itGeusDPE=QbDhZCC7oD_+@mail.gmail.com>
Jonathan ILIAS-PILLET wrote:
> Hello,
>
> We encounter a problem in a particular situation. In the attached
> source, when we change the value passed to rt_task_sleep (line 35), the
> program never returns.
>
> This appears only with values greater or equal to 100000 (and maybe some
> other values between 10000 and 100000) and only when we use
> rt_task_sleep between the two rt_task_spawn calls.
>
> Is there something we've done wrong ?
>
> We use and Armadeus APF27 platform. I don't know if this behavior is
> related to this architecture, to Xenomai or both.
We do not know anything about your setup (except the platform). See:
http://www.xenomai.org/index.php/Request_for_information
It would also be interesting to know if you have root thread priority
coupling enabled.
In any case, your real-time tasks should never use all the cpu without
letting Linux run. The only way to guarantee the stability of the system
is by letting Linux run from time to time.
--
Gilles.
next prev parent reply other threads:[~2011-03-07 10:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-07 9:18 [Xenomai-help] Program hangs using "rt_task_sleep" in a particular way Jonathan ILIAS-PILLET
2011-03-07 10:15 ` Gilles Chanteperdrix [this message]
2011-03-07 14:29 ` Jonathan ILIAS-PILLET
[not found] ` <AANLkTinnCqCNrJ-tukjxGd-zdtM9nuG2fw4Zer+iTSiQ@mail.gmail.com>
2011-03-07 14:33 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2011-06-27 6:31 Adrien LEMAITRE
2011-06-27 10:53 ` Gilles Chanteperdrix
[not found] ` <BANLkTimCab2u0EOrJ6JtLTVLNAzktbvFQg@domain.hid>
2011-06-28 13:08 ` Gilles Chanteperdrix
2011-06-28 14:02 ` Adrien LEMAITRE
2011-06-28 15:08 ` Gilles Chanteperdrix
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=4D74B024.5010008@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=armadeus-forum@domain.hid \
--cc=ismael@domain.hid \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.