Re: [PATCH] Cygwin: pipe: Fix a regression that raw_write() slows down

2024-09-02 Thread Corinna Vinschen
On Sep 1 04:46, Takashi Yano wrote: > 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

[PATCH] Cygwin: pipe: Fix a regression that raw_write() slows down

2024-08-31 Thread Takashi Yano
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/pip