[PATCH v3 0/2] Make terminal read() thread-safe.

Takashi Yano takashi.yano@nifty.ne.jp
Thu Jan 28 14:11:31 GMT 2021


Currently read() for console and pty slave are somehow
not thread-safe. These patches fix the issue.

Takashi Yano (2):
  Cygwin: console: Make read() thread-safe.
  Cygwin: pty: Make slave read() thread-safe.

 winsup/cygwin/fhandler.h          | 10 ++++++++++
 winsup/cygwin/fhandler_console.cc | 11 ++++++-----
 winsup/cygwin/fhandler_termios.cc |  2 ++
 winsup/cygwin/fhandler_tty.cc     |  6 ++++++
 4 files changed, 24 insertions(+), 5 deletions(-)

-- 
2.30.0



More information about the Cygwin-patches mailing list