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 
(without switching the originating thread to primary domain, of course)

event context can be minimal since the userland handler can figure; actual data 
transfer not required - event number or mask a plus

purpose would be integration into existing event loops; only RT->userland 
signalling needed

if it's possible from a kernel RT context, it's a plus

---

one scheme I thought of was: using rt_event services, monitor the event flag in 
a userland shadow thread and post to an eventfd whose other side could be 
integrated into an event loop. Making sense?

thanks in advance,

Michael

ps: this needs to be portable across RT kernel variants; my approach for RTAI 
would be to use rt_request_srq() and post to an eventfd from the Linux context


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

Reply via email to