zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: zpty non-functional?
Date: Tue, 27 Aug 2013 13:01:59 +0100	[thread overview]
Message-ID: <20130827130159.4dcd7ef7@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <130826175421.ZM16713@torch.brasslantern.com>

On Mon, 26 Aug 2013 17:54:21 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Aug 26,  8:33pm, Peter Stephenson wrote:
> }
> } Here's a synch, as well as a test that was showing up the problem
> 
> It just occurred to me that if the syncch [why two c?] trick solves
> the race, then it's probably not even necessary to write a byte on
> the pipe -- just close it in the child, and the parent will get EOF.

syncch is "sync ch[ar]".

All I've added is the read and write --- the pipe was there anyway as
the key part of the master/slave interface.  So this is about as minimal
as we get, up to tests and loops I may have added that we don't really
need.

pws


  reply	other threads:[~2013-08-27 12:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-24 12:44 Valodim Skywalker
2013-08-24 20:10 ` Bart Schaefer
2013-08-24 21:48   ` Peter Stephenson
2013-08-25  0:01     ` Bart Schaefer
2013-08-25 18:59       ` Peter Stephenson
2013-08-25 22:01         ` Bart Schaefer
2013-08-26 19:33           ` Peter Stephenson
2013-08-27  0:54             ` Bart Schaefer
2013-08-27 12:01               ` Peter Stephenson [this message]
2013-08-27 14:31                 ` 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=20130827130159.4dcd7ef7@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.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.
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).