From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 02 Aug 2006 18:08:25 +0200 From: "Petr Cervenka" MIME-Version: 1.0 Message-ID: <200608021808.18076@domain.hid> Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 8bit Subject: [Xenomai-help] rt_pipe and rt_queue problems List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org 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