Re: pthread-once: Work around Cygwin 3.5.3 bug

2024-05-31 Thread Bruno Haible
On 2024-05-28 I did: > * lib/pthread-once.c (pthread_once): Add an implementation for Cygwin. Unfortunately this implementation had a race condition. All of the three programs test-call_once2 test-lock test-pthread-once2 fail with a probability between ca. 10% and 20%. Among 50 consecu

Re: pthread-once: Work around Cygwin 3.5.3 bug

2024-05-29 Thread Bruno Haible
I wrote: > On Cygwin 3.5.3, programs that use pthread_once or call_once may hang > indefinitely. This is visible also in a testdir for module 'file-has-acl': test-lock hangs (and fails through timeout). This patch fixes it. 2024-05-29 Bruno Haible lock: Work around Cygwin 3.5.3 bug.

pthread-once: Work around Cygwin 3.5.3 bug

2024-05-28 Thread Bruno Haible
Cygwin version is what the GitHub CI uses currently. - There's no sign of activity regarding Cygwin from Corinna Vinschen in more than a month. 2024-05-28 Bruno Haible pthread-once: Work around Cygwin 3.5.3 bug. * m4/pthread-once.m4 (gl_PTHREAD_ONCE): On