]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: console: Introduce new thread which handles input signal.
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
Tue, 16 Feb 2021 11:37:05 +0000 (20:37 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 17 Feb 2021 09:29:57 +0000 (10:29 +0100)
commitff4440fcf7687d9af05f4c2fcb163fca5b2167f9
tree595cfe8c9f2e61678925c2f2d4ce0b04400e2503
parent571e73067898f9e82d295b3526de73e7f44e9f89
Cygwin: console: Introduce new thread which handles input signal.

- 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
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_console.cc
This page took 0.029909 seconds and 5 git commands to generate.