On Feb 18 18:12, Takashi Yano wrote: > - Setting / unsetting xterm compatible mode may cause race issue > between multiple processes. This patch adds guard for that. > --- > winsup/cygwin/fhandler.h | 6 ++ > winsup/cygwin/fhandler_console.cc | 125 +++++++++++++++++++++--------- > winsup/cygwin/select.cc | 22 ++---- > winsup/cygwin/spawn.cc | 8 +- > 4 files changed, 103 insertions(+), 58 deletions(-)
The patch looks good to me, but I'm curious... Yesterday you wrote that interlocked counting is not a good solution due to the 'bash -> cmd -> bash' scenario. What has changed your mind? Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer
signature.asc
Description: PGP signature
