All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] RTAI Skin FIFO handler running as non-RT task
@ 2008-05-06  8:18 Benjamin ZORES
  0 siblings, 0 replies; only message in thread
From: Benjamin ZORES @ 2008-05-06  8:18 UTC (permalink / raw)
  To: xenomai-core

Hi,

I've been playing with the RTAI skin as I wanted a FIFO implementation
close to the one that used to exist in RTLinux.

I've setup an input handler to the FIFO, and this handler is trying to 
acquire some
Xenomai RT mutex that was previously (successfully) created by an RT task.

Acquisition of the handler always fails with -EPERM.
So I've checked the handler status through rtdm_in_rt_context () function
and it seems that the handler is always called from a non-RT context, which
obviously seems to be the reason of the permission denied result.

Is there a reason for the handler not being RT ?
Or any way to make it RT ?

Also, I'm using Xenomai native skin everywhere in my application, except
from FIFO handling which requires me to use RTAI skin for this input 
handler.
Native skin (through pipes) do not seem to provide capabilities to set 
an handler.
Is there a good reason for that ? And is there another way to simulate 
such a handler
than creating a dedicated task that would be wakeup each time something 
is written to the FIFO ?

Thanks for any help on this,

Regards,

Ben



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-06  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06  8:18 [Xenomai-core] RTAI Skin FIFO handler running as non-RT task Benjamin ZORES

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.