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

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Feb 1 10:01:44 GMT 2021


On Jan 28 23:11, Takashi Yano via Cygwin-patches wrote:
> 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

Pushed.

Thanks,
Corinna


More information about the Cygwin-patches mailing list