public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH v2] Cygwin: pty: Reduce unecessary input transfer.
Date: Fri, 12 Feb 2021 10:43:17 +0100	[thread overview]
Message-ID: <20210212094317.GI4251@calimero.vinschen.de> (raw)
In-Reply-To: <20210211090942.3955-1-takashi.yano@nifty.ne.jp>

On Feb 11 18:09, Takashi Yano via Cygwin-patches wrote:
> - Currently, input transfer is performed every time one line is read(),
>   if the non-cygwin app is running in the background. With this patch,
>   transfer is triggered by setpgid() rather than read() so that the
>   unnecessary input transfer can be reduced much in that situation.
> ---
>  winsup/cygwin/fhandler.h      |  15 +-
>  winsup/cygwin/fhandler_tty.cc | 377 ++++++++++++++++++++--------------
>  winsup/cygwin/spawn.cc        |  78 ++++---
>  winsup/cygwin/tty.cc          |  89 ++++++++
>  winsup/cygwin/tty.h           |  16 +-
>  5 files changed, 376 insertions(+), 199 deletions(-)

Pushed.


Thanks,
Corinna

  reply	other threads:[~2021-02-12  9:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11  9:09 Takashi Yano
2021-02-12  9:43 ` Corinna Vinschen [this message]
2021-12-09 23:05 ` Johannes Schindelin
2021-12-10 10:20   ` Takashi Yano
2021-12-10 11:12     ` Johannes Schindelin
2021-12-11 13:40       ` Takashi Yano
2021-12-13  9:09         ` Takashi Yano
2021-12-13 12:33           ` Takashi Yano
2021-12-14 11:02             ` Takashi Yano

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=20210212094317.GI4251@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-patches@cygwin.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).