On 11/20/2013 04:31 PM, Michael Haberler wrote:
Gilles,

Am 20.11.2013 um 15:58 schrieb Gilles Chanteperdrix
<[email protected]>:

On 11/20/2013 03:33 PM, Michael Haberler wrote:
I'm looking for a simple method to post an event from an RT
thread so a userland non-RT thread can wait for, and pick it up
via a file descriptor
..
if it's possible from a kernel RT context, it's a plus

You may use XDDP IPC for that, see:
http://www.xenomai.org/documentation/xenomai-2.6/html/api/xddp-echo_8c-example.html



--
Gilles.


well thank you, that fits the bill exactly!

in case I would want to use the same method with kernel RT as long as
that lives, I take from the below post I would have to use the native
rt_pipe API to talk to the userland counterpart (the latter unchanged
I assume)?

http://www.mail-archive.com/[email protected]/msg11181.html

You should be able to use the RTDM API in kernel-space. Provided that you use the "rt_dev" prefix.

--
                                            Gilles.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to