Re: [PATCH 8/8] Cygwin: signal: Fix another deadlock between main and sig thread

2024-11-28 Thread Takashi Yano
On Wed, 27 Nov 2024 18:02:52 +0100 Corinna Vinschen wrote: > On Nov 27 20:22, Takashi Yano wrote: > > In _cygtls::handle_SIGCONT(), the sig thread waits for the main thread > > processing the signal without unlocking tls area. This causes a deadlock > > if the main thread tries to acquire a lock

Re: [PATCH 8/8] Cygwin: signal: Fix another deadlock between main and sig thread

2024-11-27 Thread Corinna Vinschen
On Nov 27 20:22, Takashi Yano wrote: > In _cygtls::handle_SIGCONT(), the sig thread waits for the main thread > processing the signal without unlocking tls area. This causes a deadlock > if the main thread tries to acquire a lock for the tls area meanwhile. > With this patch, unlock tls before call