From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C8DE9CE.9050900@domain.hid> Date: Mon, 13 Sep 2010 11:07:26 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-help] rt_queue_read and EPERM? List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?SmVucyBLw7ZobGVy?= Cc: xenomai@xenomai.org Jens K=C3=B6hler wrote: > Hello >=20 > I am try to use a RT_QUEUE. I am writing messages with rt_queue_write t= o > the queue. But when function rt_queue_read is called result is always = "-1". > =20 > "-1" means EPERM. What means exactly: "EEPERM is returned if this > service should block"? I don't understand why a function should block t= o > get a message from a queue!? A piece of code is worth a thousand words. Please send us a piece of code showing the behaviour you find suspicious. --=20 Gilles.