Re: [PATCH] Cygwin: fork: Call pthread::atforkchild () after other initializations

2025-04-04 Thread Takashi Yano
On Fri, 04 Apr 2025 07:27:09 +0200 Johannes Schindelin wrote: > Is Jeremy's guess "if raw_write doesn't need to wait (ie, there's room in the > pipe for the write) it doesn't hit the signal stuff" correct? If so, it would > be good to add that part to the commit message because the commit would >

Re: [PATCH] Cygwin: fork: Call pthread::atforkchild () after other initializations

2025-04-04 Thread Johannes Schindelin
Hi Takashi, On Fri, 4 Apr 2025, Takashi Yano wrote: > On Fri, 04 Apr 2025 07:27:09 +0200 Johannes Schindelin wrote: > > > Is Jeremy's guess "if raw_write doesn't need to wait (ie, there's room > > in the pipe for the write) it doesn't hit the signal stuff" correct? > > If so, it would be good to

Re: [PATCH] Cygwin: fork: Call pthread::atforkchild () after other initializations

2025-04-04 Thread Takashi Yano
On Fri, 4 Apr 2025 14:13:57 +0200 (CEST) Johannes Schindelin wrote: > On Fri, 4 Apr 2025, Takashi Yano wrote: > > On Fri, 04 Apr 2025 07:27:09 +0200 Johannes Schindelin wrote: > > > > > Is Jeremy's guess "if raw_write doesn't need to wait (ie, there's room > > > in the pipe for the write) it doesn'

Re: [PATCH] Cygwin: fork: Call pthread::atforkchild () after other initializations

2025-04-04 Thread Johannes Schindelin
Hi Takashi, On Fri, 4 Apr 2025, Takashi Yano wrote: > On Fri, 4 Apr 2025 14:13:57 +0200 (CEST) > Johannes Schindelin wrote: > > On Fri, 4 Apr 2025, Takashi Yano wrote: > > > On Fri, 04 Apr 2025 07:27:09 +0200 Johannes Schindelin wrote: > > > > > > > Is Jeremy's guess "if raw_write doesn't need to

Re: [PATCH] Cygwin: thread: Allow fast_mutex to be acquired multiple times.

2025-04-04 Thread Takashi Yano
Hi Corinna, On Wed, 26 Mar 2025 10:33:48 +0100 Corinna Vinschen wrote: > On Mar 26 18:14, Takashi Yano wrote: > > Hi Corinna, > > > > On Mon, 24 Mar 2025 16:35:08 +0100 > > Corinna Vinschen wrote: > > > On Mar 24 22:05, Takashi Yano wrote: > > > > Hi Corinna, > > > > > > > > On Mon, 24 Mar 2025

Re: [PATCH] Cygwin: fork: Call pthread::atforkchild () after other initializations

2025-04-04 Thread Takashi Yano
On Fri, 4 Apr 2025 16:17:21 +0200 (CEST) Johannes Schindelin wrote: > Hi Takashi, > > On Fri, 4 Apr 2025, Takashi Yano wrote: > > > On Fri, 4 Apr 2025 14:13:57 +0200 (CEST) > > Johannes Schindelin wrote: > > > On Fri, 4 Apr 2025, Takashi Yano wrote: > > > > On Fri, 04 Apr 2025 07:27:09 +0200 Joha

Re: [PATCH] Cygwin: fork: Call pthread::atforkchild () after other initializations

2025-04-04 Thread Jeremy Drake via Cygwin-patches
On Fri, 4 Apr 2025, Takashi Yano wrote: > On Fri, 4 Apr 2025 16:17:21 +0200 (CEST) > Johannes Schindelin wrote: > > But that means that the `signal_arrived` that is copied from the parent > > process should be invalidated in the child processes, right? > > Yes. > > The 'value' of the handle is cop