From: Philippe Gerum <rpm@xenomai.org>
To: Roberto Bielli <roberto.bielli@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] rt_task_create and rt_task delete re-scheduling calling task
Date: Mon, 14 May 2012 10:15:43 +0200 [thread overview]
Message-ID: <4FB0BF2F.1060108@domain.hid> (raw)
In-Reply-To: <4FB0BA7C.6070704@domain.hid>
On 05/14/2012 09:55 AM, Roberto Bielli wrote:
> Hi,
>
> i saw in the documentation that rt_task_create and rt_task_delete should
> re-scheduling the calling task.
> So i lost the priority if in a task try to call rt_task_create or
> rt_task create. Do i understand correctly ?
> Is there a way to avoid this behaviour ? Or which are all the case of
> re-scheduling whne calling rt_task_create/rt_task_delete ?
There is no way to avoid rescheduling (assuming you are currently using
the user-space API). Creating and deleting tasks involves switching to
secondary mode to get/release linux resources it's impossible to access
from a primary context.
>
> Thanks of all
>
> P.S. the imx25 now it's perfect. Was only the reentrant interrupt.
>
--
Philippe.
next prev parent reply other threads:[~2012-05-14 8:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 7:55 [Xenomai-core] rt_task_create and rt_task delete re-scheduling calling task Roberto Bielli
2012-05-14 8:11 ` Gilles Chanteperdrix
2012-05-14 8:15 ` Philippe Gerum [this message]
2012-05-14 9:17 ` 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=4FB0BF2F.1060108@domain.hid \
--to=rpm@xenomai.org \
--cc=roberto.bielli@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.