newlib-cygwin/winsup/cygwin/fhandler
Takashi Yano 76e1edeb27 Cygwin: console: Fix hangup of less on quit after the window is resized.
https://cygwin.com/pipermail/cygwin/2022-December/252737.html

If the less is started from non-cygwin shell and window size is
changed, it will hang-up when quitting. The cause of the proglem is
that less uses longjump() in signal handler. If the signal handler
is called while cygwin is acquiring the mutex, cygwin loses the
chance to release mutex. With this patch, the mutex is released
just before calling kill_pgrp() and re-acquired when kill_pgrp()
returns.

Reported-by: Gregory Mason <grmason@epic.com>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2022-12-22 20:50:40 +09:00
..
base.cc
clipboard.cc
console.cc Cygwin: console: Fix hangup of less on quit after the window is resized. 2022-12-22 20:50:40 +09:00
cygdrive.cc
dev.cc
dev_fd.cc
disk_file.cc Cygwin: stop handling files with .com suffix like .exe files 2022-10-28 12:44:27 +02:00
dsp.cc
fifo.cc Cygwin: select: don't report read ready on a FIFO never opened for writing 2022-10-19 08:17:50 -04:00
floppy.cc
mqueue.cc
netdrive.cc
nodevice.cc
null.cc
pipe.cc Cygwin: pipe: Fix performance degradation for non-cygwin pipe. 2022-12-09 21:03:39 +09:00
proc.cc
process.cc Cygwin: Correct /proc/*/stat for processes without ctty 2022-11-10 10:07:05 +01:00
process_fd.cc
procnet.cc
procsys.cc
procsysvipc.cc
pty.cc Cygwin: pty: Rename fhandler/tty.cc to fhandler/pty.cc. 2022-11-25 09:33:27 +09:00
random.cc
raw.cc
registry.cc
serial.cc Cygwin: serial: Fix a copy-paste error in DTR setup 2022-11-29 11:47:27 +01:00
signalfd.cc
socket.cc
socket_inet.cc
socket_local.cc
socket_unix.cc
tape.cc
termios.cc Cygwin: pty, console: Encapsulate spawn.cc code related to pty/console. 2022-11-20 10:37:37 +09:00
timerfd.cc
virtual.cc
windows.cc
zero.cc