All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_pipe and rt_queue problems
@ 2006-08-02 16:08 Petr Cervenka
  2006-08-02 19:04 ` Jan Kiszka
  0 siblings, 1 reply; 12+ messages in thread
From: Petr Cervenka @ 2006-08-02 16:08 UTC (permalink / raw)
  To: xenomai

I have Xenomai snapshot (18.5.2006,  2.1.1 ~ 2.1.2) and userspace application.
I need to exchange lot of data between two tasks (producer -> consumer) with some buffer in the middle.
I used rt_pipe/linux device scheme, but I realised that the preformance is very low. (At least some performance monitor showed it)
So I tried to use rt_queue. But when I tried to read from queue with timeout (or TM_INFINITE), I got an EPERM error.
That means: "service should block, but was called from a context, which cannot sleep.". But I want to sleep (and wait for new data).
Where is the problem? Do you have any advice?
Petr Cervenka



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

end of thread, other threads:[~2006-08-07 14:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 16:08 [Xenomai-help] rt_pipe and rt_queue problems Petr Cervenka
2006-08-02 19:04 ` Jan Kiszka
2006-08-03 14:28   ` Petr Cervenka
2006-08-03 18:01     ` Philippe Gerum
2006-08-03 21:35     ` Jan Kiszka
2006-08-04 11:45       ` Petr Cervenka
2006-08-05 16:50         ` Jan Kiszka
2006-08-05 17:40           ` Philippe Gerum
2006-08-07 13:03             ` Dmitry Adamushko
2006-08-07 13:37               ` Jan Kiszka
2006-08-07 14:05                 ` Philippe Gerum
2006-08-07 14:23                   ` Dmitry Adamushko

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.