]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pipe: Fix performance degradation for non-cygwin pipe. cygwin-3.4.1
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:03:39 +0000 (21:03 +0900)
commit540e5448fc988fd02903558a9bb75a8cd3e6b2a8
tree32fe5bd60a1f272b4723905c2e48878bef644947
parent55873f0d24a4cdee9fe28bcc64c7890344b37295
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.068654 seconds and 5 git commands to generate.