From: Philippe Gerum <rpm@xenomai.org>
To: "Mnatsakanyan, M." <m.mnatsakanyan@tue.nl>,
Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Switch to secondary mode due to pop/push into TBB queue
Date: Tue, 25 Mar 2014 18:14:49 +0100 [thread overview]
Message-ID: <5331B989.6060504@xenomai.org> (raw)
In-Reply-To: <6781B7C7F03D8A4BAF673DC4478144C406908D6B@XSERVER21A.campus.tue.nl>
On 03/25/2014 05:35 PM, Mnatsakanyan, M. wrote:
> Sorry if my question is not worthy to post here.
> I read a lot from xenomai documentation and discussions, but still cannot answer this question.
The threading building blocks consists of a huge amount of code not even
remotely designed for running over a dual kernel system, so they issue
regular linux system calls under the hood, either directly or indirectly
by calling other library services. Not to speak of the C++ runtime which
introduces its own set of issues.
In short, TBB won't care about a very basic Xenomai 2.x requirement:
services in real-time mode (i.e. primary) should be obtained from
Xenomai APIs, excluding regular linux system calls. One of these APIs is
a subset of the POSIX specification aimed at real-time programming
though, but this is likely not enough to cover every service the TBB
invokes.
Diving into the TBB implementation would be required to figure out what
happens there, and whether using a construct in real-time mode over a
dual kernel is ever possible.
>
> ________________________________________
> From: Gilles Chanteperdrix [gilles.chanteperdrix@xenomai.org]
> Sent: Tuesday, March 25, 2014 5:13 PM
> To: Mnatsakanyan, M.
> Cc: xenomai@xenomai.org
> Subject: Re: [Xenomai] Switch to secondary mode due to pop/push into TBB queue
>
> On 03/25/2014 05:03 PM, Mnatsakanyan, M. wrote:
>> Hello,
>>
>> I am trying to build a real-time application, but still do not understand all Xenomai concepts clearly,
>
> So, I suggest you read the documentation at http://www.xenomai.org
>
> --
> Gilles.
>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
>
--
Philippe.
prev parent reply other threads:[~2014-03-25 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-25 16:03 [Xenomai] Switch to secondary mode due to pop/push into TBB queue Mnatsakanyan, M.
2014-03-25 16:13 ` Gilles Chanteperdrix
2014-03-25 16:35 ` Mnatsakanyan, M.
2014-03-25 17:14 ` Philippe Gerum [this message]
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=5331B989.6060504@xenomai.org \
--to=rpm@xenomai.org \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=m.mnatsakanyan@tue.nl \
--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.