From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: read_poll Re: PATCH: Zpty cleanup (merge 13061 with 13116)
Date: Thu, 9 Nov 2000 09:09:26 +0100 (MET) [thread overview]
Message-ID: <200011090809.JAA24586@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Wed, 8 Nov 2000 15:58:13 +0000
Bart Schaefer wrote:
> On Nov 8, 11:20am, Sven Wischnowsky wrote:
> }
> } Bart Schaefer wrote:
> }
> } > However, that does not mean that the rest of the tests should be skipped
> } > when select() returns 0. A return of 0 means the select() timed out,
> } > which (apparently) might happen under Cygwin even if there actually are
> } > characters available to be read. Peter/Andrej, is that the case?
> }
> } I don't know about Cygwin, but that blocking read (line 1381) is
> } exactly the test I wanted to avoid.
>
> The read on line 1381 is *non-*blocking. Since polltty is now always zero
> when called from zpty, the setblock_fd() call is made before the read() is
> attempted. That was the patch I first committed which started me down the
> road of merging in your changes.
Ouch. Right, hadn't thought about the change to polltty. Sorry.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-11-09 8:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-09 8:09 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-11-09 8:12 Sven Wischnowsky
2000-11-08 10:20 Sven Wischnowsky
2000-11-08 10:42 ` Andrej Borsenkow
2000-11-08 14:03 ` read_poll " Andrej Borsenkow
2000-11-08 14:46 ` Andrej Borsenkow
2000-11-08 15:58 ` PATCH: read_poll " Bart Schaefer
2000-11-08 17:00 ` Bart Schaefer
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=200011090809.JAA24586@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).