diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2024-09-01 04:31:03 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2024-09-02 20:20:13 +0900 |
commit | 37ab3e0d55e3ff3932509bfd2f2625c138b18866 (patch) | |
tree | 9e0dbef7ad1ac6d5faf9dff697c3d9510fee4183 /ChangeLog | |
parent | 68a14b66ff2dd6e71497a3a9583253d17e7e790e (diff) | |
download | newlib-cygwin-3_5-branch.zip newlib-cygwin-3_5-branch.tar.gz newlib-cygwin-3_5-branch.tar.bz2 |
Cygwin: pipe: Fix a regression that raw_write() slows downgithub/cygwin-3_5-branchcygwin-3_5-branch
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>
(cherry picked from commit f78009cb1ccf84cc343cf2441c76196461d87532)
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions