linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Replacement for Xenomai's Message queues?
@ 2010-01-28  8:09 M. Koehrer
  2010-01-28 18:56 ` Darren Hart
  2010-01-28 20:06 ` M. Koehrer
  0 siblings, 2 replies; 6+ messages in thread
From: M. Koehrer @ 2010-01-28  8:09 UTC (permalink / raw)
  To: linux-rt-users

Hi all,

I am about to switch an realtime application from Xenomai to the RT_PREEMPTION patch.
Everything works really smooth, however I have one question.
With my Xenomai application I use the message queue which combine transfer (including queuing)
of data with activation of the thread.
In my Xenomai application I use this feature quite frequently. Now, I am not sure how to do an equivalent
with the RT_PREEMPT patch.
(see http://www.xenomai.org/documentation/xenomai-2.4/html/api/group__native__queue.html)
Of course I could use condition variables and a struct or array to hold the data I want to pass with the activation
of a thread. However, using this approach I do not have the queuing (which is some extra effort I could spent...).
Another idea I have: I could use sockets which realize the queuing but the overhead is too high.

Is there any suitable way to implement a message queue like approach using RT_PREEMPT patch?
I am running x86 (Dual/Quad Cores).

Thanks for all answers on this question.

Regards

Mathias



-- 
Mathias Koehrer
mathias_koehrer@arcor.de


Immer auf dem Laufenden! Sport, Auto, Reise, Politik und Promis. Von uns für Sie: der neue Arcor.de-Newsletter!
Jetzt anmelden und einfach alles wissen: http://www.arcor.de/rd/footer.newsletter
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-01-28 22:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28  8:09 Replacement for Xenomai's Message queues? M. Koehrer
2010-01-28 18:56 ` Darren Hart
2010-01-28 20:06 ` M. Koehrer
2010-01-28 21:12   ` Darren Hart
2010-01-28 21:50   ` Carsten Emde
2010-01-28 22:18   ` Tim Sander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).