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 <br...@clisp.org> lock: Work around Cygwin 3.5.3 bug. * modules/lock (Depends-on): Add pthread-once. diff --git a/modules/lock b/modules/lock index c9d60d695c..2452524987 100644 --- a/modules/lock +++ b/modules/lock @@ -10,6 +10,7 @@ m4/pthread_rwlock_rdlock.m4 Depends-on: extensions threadlib +pthread-once [test $gl_threads_api = posix] windows-mutex [test $gl_threads_api = windows] windows-rwlock [test $gl_threads_api = windows] windows-recmutex [test $gl_threads_api = windows]