Re: [PATCH 9/9] Cygwin: signal: Fix a short period of deadlock

2024-12-02 Thread Corinna Vinschen
On Nov 29 20:59, Takashi Yano wrote: > The main thread waits for the sig thread to read the signal pipe by > calling Sleep(10) if writing to the signal pipe has failed. However, > if the signal thread waiting for another signal being handled in the > main thread, the sig thread does not read the si

[PATCH 9/9] Cygwin: signal: Fix a short period of deadlock

2024-11-29 Thread Takashi Yano
The main thread waits for the sig thread to read the signal pipe by calling Sleep(10) if writing to the signal pipe has failed. However, if the signal thread waiting for another signal being handled in the main thread, the sig thread does not read the signal pipe. To avoid such a situation, this pa