From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Roderik_Wildenburg@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: AW: [Xenomai-help] InterProcessCommunication between Xenomai taskand Linux process
Date: Mon, 30 Oct 2006 10:21:26 +0100 [thread overview]
Message-ID: <4545C416.6030001@domain.hid> (raw)
In-Reply-To: <5D63919D95F87E4D9D34FF7748CE2C2A5FFB1C@ARVMAIL1.mra.roland-man.biz>
Roderik_Wildenburg@domain.hid wrote:
>>Roderik_Wildenburg@domain.hid wrote:
>>
>>>Is there a standard way for communication between nativ Linux
>>>processes and Xenomai task which ensures that the Xenomai task does
>>>not lose its raltime capability (e.g. can I use Xenomai
>>
>>(Posix)-queues
>>
>>>within Linux processes ?).
>>>I just need a hint, where I can read about it.
>>
>>Xenomai POSIX messages queues can only be used by Xenomai
>>tasks, but Xenomai tasks do not switch to secondary mode when
>>using POSIX messages queues. Note that when using the POSIX
>>skin, all tasks are Xenomai tasks, the SCHED_OTHER policy
>>being reserved to non-realtime task.
>
>
> How do I use "POSIX messages queues" and not "Xenomai POSIX messages
> queues" within a Xenomai task. Do I have to use the real_-prefix (e.g.
> real_mq_open()) ?
Yes, but if you use the regular POSIX messages queues, Xenomai tasks
will switch to secondary mode.
I insist: the best option if you want to use the POSIX skin, is to
make your non real-time side of the queue a Xenomai task using the
SCHED_OTHER policy.
> Can a Xenomai-task-queues and a Linux-process-queues use the same queue
> name (Linux: mq_open("queuename",..) and Xeno:
> real_mq_open("queuename",....) (or can I even use
> mq_open("queuename,.)in Xenomai)) ?
You can use the same name, but you will get two different unrelated
objects.
--
Gilles Chanteperdrix
prev parent reply other threads:[~2006-10-30 9:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 9:02 AW: [Xenomai-help] InterProcessCommunication between Xenomai taskand Linux process Roderik_Wildenburg
2006-10-30 9:21 ` Gilles Chanteperdrix [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=4545C416.6030001@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=Roderik_Wildenburg@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.