]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pipe: Adopt FILE_SYNCHRONOUS_IO_NONALERT flag for read pipe.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Wed, 10 Nov 2021 12:47:09 +0000 (21:47 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Sun, 12 Dec 2021 13:11:05 +0000 (22:11 +0900)
commit9e4d308cd592fe383dec58ea6523c1b436888ef8
treebf9eb608749d0d9588fa102c2470761952b36f4c
parentf3d719c694f824fcec99ebbe88de8a5fa0a25a71
Cygwin: pipe: Adopt FILE_SYNCHRONOUS_IO_NONALERT flag for read pipe.

- With this patch, FILE_SYNCHRONOUS_IO_NONALERT flag is applied to
  the read pipe so that native C# programs work with cygwin pipe.
  To handle signals in reading pipe with this flag set, the read
  pipe itself is always set to nonblocking mode and simulates the
  blocking behaviour in raw_read().

- Default to byte mode rather than message mode in order to make
  C# programs work with cygwin pipe.

Addresses: https://cygwin.com/pipermail/cygwin/2021-March/247987.html
winsup/cygwin/fhandler_pipe.cc
winsup/cygwin/globals.cc
This page took 0.032835 seconds and 5 git commands to generate.