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

Takashi Yano takashi.yano@nifty.ne.jp
Thu Jan 28 11:14:07 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_console.cc | 7 +++----
 winsup/cygwin/fhandler_tty.cc     | 6 ++++++
 winsup/cygwin/select.cc           | 3 ---
 3 files changed, 9 insertions(+), 7 deletions(-)

-- 
2.30.0



More information about the Cygwin-patches mailing list