[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin-patches
Subject:    [PATCH v3 0/2] Make terminal read() thread-safe.
From:       Takashi Yano via Cygwin-patches <cygwin-patches () cygwin ! com>
Date:       2021-01-28 14:11:31
Message-ID: 20210128141133.734-1-takashi.yano () nifty ! ne ! jp
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic