]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pipe: Fix performance degradation for non-cygwin pipe.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Thu, 8 Dec 2022 13:02:43 +0000 (22:02 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Fri, 9 Dec 2022 12:01:29 +0000 (21:01 +0900)
commitbe635ebc2f5df7f07ebc3f1f9531f38e3c09c970
tree6961508f11782620c3a393faa6b5039b4f0af0c5
parent3a910b624a1bcd3d2ee625a308ba9f108a152fb7
Cygwin: pipe: Fix performance degradation for non-cygwin pipe.

https://cygwin.com/pipermail/cygwin/2022-December/252628.html

After the commit 9e4d308cd592, the performance of read from non-cygwin
pipe has been degraded. This is because select_sem mechanism does not
work for non-cygwin pipe. This patch fixes the issue.

Fixes: 9e4d308cd592 ("Cygwin: pipe: Adopt FILE_SYNCHRONOUS_IO_NONALERT
flag for read pipe.")
Reported-by: tryandbuy <tryandbuy@proton.me>
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
winsup/cygwin/fhandler/pipe.cc
winsup/cygwin/release/3.4.1
This page took 0.033389 seconds and 5 git commands to generate.