All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Jens Köhler" <jenskxxx@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_queue_read and EPERM?
Date: Mon, 13 Sep 2010 11:07:26 +0200	[thread overview]
Message-ID: <4C8DE9CE.9050900@domain.hid> (raw)
In-Reply-To: <AANLkTi=Wke_BOMmq4P-SSoaMnaDVfBV=2Hmn5TZF7QgQ@mail.gmail.com>

Jens Köhler wrote:
> Hello
> 
> I am try to use a RT_QUEUE. I am writing messages with rt_queue_write to
> the queue. But when function rt_queue_read is called result is always  "-1".
>  
> "-1" means EPERM. What means exactly: "EEPERM is returned if this
> service should block"? I don't understand why a function should block to
> 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.

-- 
					    Gilles.



  reply	other threads:[~2010-09-13  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13  8:06 [Xenomai-help] rt_queue_read and EPERM? Jens Köhler
2010-09-13  9:07 ` Gilles Chanteperdrix [this message]
2010-09-13 10:59   ` Jens Köhler
2010-09-13 11:57     ` Gilles Chanteperdrix
2010-09-13 13:52       ` Jens Köhler
2010-09-13 14:15         ` Gilles Chanteperdrix

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=4C8DE9CE.9050900@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jenskxxx@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.