From: Jeff Webb <jeff.webb@domain.hid>
To: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] read returns more bytes than requested?
Date: Thu, 14 Sep 2006 14:12:24 -0500 [thread overview]
Message-ID: <4509A998.4000102@domain.hid> (raw)
In-Reply-To: <1158239386.5040.105.camel@domain.hid>
Philippe Gerum wrote:
> On Mon, 2006-09-11 at 17:45 -0500, Jeff Webb wrote:
>> I didn't think that a read could return more bytes than was requested.
>> Does anyone understand this behaviour? This is code that works under RT-Linux.
>> I am trying to determine why it is working differently under xenomai.
>
> Another round of refactoring the message pipe support. This time, it
> introduces the ability to get partial reads from the /dev/rtp* device
> endpoint, instead of requiring read() calls to collect all of the
> pending data at once. The remaining work will allow the same from the
> real-time API endpoint. This patch applies against the latest patch
> sent.
Thanks again! The read appears to be working now, at least as far as I can tell. I am now hunting down the source of an unrelated bug, a little further down the line.
-Jeff
prev parent reply other threads:[~2006-09-14 19:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-11 22:45 [Xenomai-help] read returns more bytes than requested? Jeff Webb
2006-09-12 7:18 ` Philippe Gerum
2006-09-14 13:09 ` Philippe Gerum
2006-09-14 19:12 ` Jeff Webb [this message]
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=4509A998.4000102@domain.hid \
--to=jeff.webb@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.