All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Mark Saiia <mark.saiia@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_queue_write return 1, with no receiver
Date: Tue, 10 Mar 2009 10:37:53 +0100	[thread overview]
Message-ID: <49B634F1.2040101@domain.hid> (raw)
In-Reply-To: <67b6b3430903091727o4a60a28ay91c7ba35ad7d08ef@domain.hid>

Mark Saiia wrote:
> Hello all,
> 
> Running Xenomai 2.4.7 w/ linux 2.6.27.19 on Geode GX1.
> 
> We are writing to a queue.  This write is returning a 1, and we
> believe that there is no corresponding read pending.  Are the API docs
> correct in regards to the return value of rt_queue_write?

Yes, the docs are correct, and the code looks sane as well. You may want to 
double-check your findings using rt_queue_inquire() before calling 
rt_queue_write(), even if this won't be 100% reliable in case your reader is 
polling the queue.

   Has anyone
> seen anything related to this issue?
> 
> Thanks,
> 
> Mark
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
Philippe.


  reply	other threads:[~2009-03-10  9:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10  0:27 [Xenomai-help] rt_queue_write return 1, with no receiver Mark Saiia
2009-03-10  9:37 ` Philippe Gerum [this message]
2009-03-10 18:21   ` Steven Seeger
2009-03-10 18:57   ` Steven Seeger
2009-03-10 19:56     ` Philippe Gerum
     [not found]       ` <67b6b3430903101403r183d6d4cwe100619a293abae2@domain.hid>
2009-03-10 21:07         ` Philippe Gerum
2009-03-10 22:16           ` Mark Saiia
2009-03-10 22:24             ` Philippe Gerum
     [not found]               ` <67b6b3430903101552u37244233s587898c4d0f9ef3d@domain.hid>
2009-03-11  9:14                 ` Philippe Gerum
     [not found]                   ` <67b6b3430903110951m71679f89ud83859654f04aabb@domain.hid>
2009-03-11 17:04                     ` Philippe Gerum
2009-03-11 17:07                       ` Steven Seeger
2009-03-11 17:15                         ` Philippe Gerum
2009-03-11 17:18                           ` Steven Seeger
2009-03-11 17:36                             ` Philippe Gerum
2009-03-11 17:38                               ` Steven Seeger
2009-03-11 17:39                               ` Steven Seeger
     [not found]                               ` <67b6b3430903111043s628c5c64m89cc8c726bdf6ff9@domain.hid>
2009-03-11 17:45                                 ` [Xenomai-help] Fwd: " Mark Saiia
2009-03-11 17:17                       ` [Xenomai-help] " Jan Kiszka

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=49B634F1.2040101@domain.hid \
    --to=rpm@xenomai.org \
    --cc=mark.saiia@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.