From: "Petr Cervenka" <grugh@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] rt_pipe and rt_queue problems
Date: Wed, 02 Aug 2006 18:08:25 +0200 [thread overview]
Message-ID: <200608021808.18076@domain.hid> (raw)
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
next reply other threads:[~2006-08-02 16:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-02 16:08 Petr Cervenka [this message]
2006-08-02 19:04 ` [Xenomai-help] rt_pipe and rt_queue problems 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200608021808.18076@domain.hid \
--to=grugh@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.