From: Dave Brolley <brolley@redhat.com>
To: "Frank Ch. Eigler" <fche@redhat.com>
Cc: sid@sources.redhat.com
Subject: Re: [patch][commit] EOF Handling for sid-io-stdio
Date: Mon, 17 Jul 2006 19:33:00 -0000 [thread overview]
Message-ID: <44BBE61C.8000907@redhat.com> (raw)
In-Reply-To: <20060714205725.GJ20476@redhat.com>
Frank Ch. Eigler wrote:
>Hi -
>
>
>
>>I've committed this patch which corrects a problem with
>>sid-io-stdio. Currently, when there is no data available to be
>>read, the gloss component cannot distinguish this from EOF. [...]
>>
>>
>
>Interesting, I vaguely recall intending that code to encode EOF the
>same way C stdio does (value 0..255: valid data, value -1: eof). The
>data pin is wide enough to do so unambiguously.
>
>
>
I see what you're saying, but I still think that an eof pin is a better
interface.
1) No overhead on the receiving end examining each value driven on the
data pin to see if it's the magic '-1' character
2) Driving the eof pin could easily trigger additional events, if needed.
Dave
prev parent reply other threads:[~2006-07-17 19:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-14 19:53 Dave Brolley
2006-07-14 20:57 ` Frank Ch. Eigler
2006-07-17 19:33 ` Dave Brolley [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=44BBE61C.8000907@redhat.com \
--to=brolley@redhat.com \
--cc=fche@redhat.com \
--cc=sid@sources.redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).