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
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.
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