Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Yano <takashi.yano@nifty.ne.jp>2024-08-31 22:31:03 +0300
committerTakashi Yano <takashi.yano@nifty.ne.jp>2024-09-02 14:12:39 +0300
commitf78009cb1ccf84cc343cf2441c76196461d87532 (patch)
tree0a06dbdcfbfb32abf90bf92ef3f3df74dfd2d99c /winsup/doc/copy.texinfo
parent84d77e5918e18170c393407d477140fcf5d3e432 (diff)
Cygwin: pipe: Fix a regression that raw_write() slows downHEADmastermain
After the commit 7f3c22532577, writing to pipe extremely slows down. This is because cygwait(select_sem, 10, cw_cancel) is called even when write operation is already completed. With this patch, the cygwait() is called only if the write operation is not completed. Addresses: https://cygwin.com/pipermail/cygwin/2024-August/256398.html Fixes: 7f3c22532577 ("Cygwin: pipe: handle signals explicitely in raw_write") Reported-by: Jim Reisert AD1C <jjreisert@alum.mit.edu> Reviewed-by: Corinna Vinschen <corinna@vinschen.de> Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'winsup/doc/copy.texinfo')
0 files changed, 0 insertions, 0 deletions