From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Uttamkumar Sinojia <uttamkumarsinojia@yahoo.in>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] jitter-test
Date: Sat, 28 Jul 2012 21:17:49 +0200 [thread overview]
Message-ID: <50143ADD.8030702@xenomai.org> (raw)
In-Reply-To: <1343501377.68444.YahooMailNeo@web193906.mail.sg3.yahoo.com>
On 07/28/2012 08:49 PM, Uttamkumar Sinojia wrote:> Here as all the task
are having same priority. So when expected
> wake-up time of more than one task is same, in such case which task
> will wake-up first can not be predicted. But as per the output (shown
> below), the task with higher priority is woken-up first----WHY
> SO??????
Unless you configured xenomai in periodic mode, the wake up time of the
tasks is not the same. Also, I do not understand your sentence:
you say that all tasks have the same priority, but you wonder why the
task with the highest priority wakes up. Errr seems you contradict
yourself, if there is a task with highest priority, then all tasks do
not have the same priority. And vice-versa.
> Here regarding to the task wake-up, i am not getting any relation
> like in previous case which was with respect to the period but the
> any number of time i load the module it is giving same seuence which
> should not happen as all the task are having same priority?????
Xenomai is deterministic, it will behave the same way given the same
events at the same time. Again, Xenomai is not tick based, but has an
aperiodic tic, so, each time you call "rt_task_set_periodic", you create
a periodic event that is not synchronized with the previous one.
--
Gilles.
next prev parent reply other threads:[~2012-07-28 19:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-28 18:49 [Xenomai] jitter-test Uttamkumar Sinojia
2012-07-28 19:17 ` Gilles Chanteperdrix [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-07-28 21:24 [Xenomai] Jitter-test Uttamkumar Sinojia
2012-07-28 21:26 ` Gilles Chanteperdrix
2012-07-28 21:27 ` Gilles Chanteperdrix
2012-07-14 22:54 Uttamkumar Sinojia
2012-07-20 18:39 ` 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=50143ADD.8030702@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=uttamkumarsinojia@yahoo.in \
--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.