From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH v2] Cygwin: console: Introduce new thread which handles input signal.
Date: Wed, 17 Feb 2021 10:35:03 +0100 [thread overview]
Message-ID: <YCzjR33VcmA+vTCc@calimero.vinschen.de> (raw)
In-Reply-To: <20210216113705.1358-1-takashi.yano@nifty.ne.jp>
On Feb 16 20:37, Takashi Yano via Cygwin-patches wrote:
> - Currently, Ctrl-Z, Ctrl-\ and SIGWINCH does not work in console
> if the process does not call read() or select(). This is because
> these are processed in process_input_message() which is called
> from read() or select(). This is a long standing issue of console.
> Addresses:
> https://cygwin.com/pipermail/cygwin/2020-May/244898.html
> https://cygwin.com/pipermail/cygwin/2021-February/247779.html
>
> With this patch, new thread which handles only input signals is
> introduced so that Crtl-Z, etc. work without calling read() or
> select(). Ctrl-S and Ctrl-Q are also handled in this thread.
> ---
> winsup/cygwin/exceptions.cc | 1 +
> winsup/cygwin/fhandler.h | 5 +-
> winsup/cygwin/fhandler_console.cc | 177 +++++++++++++++++++++++++++++-
> 3 files changed, 181 insertions(+), 2 deletions(-)
Pushed. This is great! Can you please add an entry to the release docs?
Thanks,
Corinna
prev parent reply other threads:[~2021-02-17 9:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 11:37 Takashi Yano
2021-02-17 9:35 ` Corinna Vinschen [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=YCzjR33VcmA+vTCc@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).