Hash :
4851abd8
Author :
Date :
2024-03-28T22:05:39
pthread-h: Fix override of pthread_spinlock_t with non-GNU compilers. * m4/pthread-spin.m4 (gl_PTHREAD_SPIN): Define through AC_DEFUN_ONCE. Require gl_PTHREAD_H_DEFAULTS, not gl_PTHREAD_H. * m4/pthread_h.m4 (gl_PTHREAD_H): Invoke gl_PTHREAD_SPIN. * lib/pthread.in.h (pthread_spinlock_t, GNULIB_defined_pthread_spin_types): Don't define if HAVE_PTHREAD_SPIN_INIT && !REPLACE_PTHREAD_SPIN_INIT. * modules/pthread-h (Files): Add m4/pthread-spin.m4.
This directory contains metainformation about the gnulib modules, one or two
files per module. These files are used by gnulib-tool.
For every module,
- the file <module> is the metainformation about the library code of the
module,
- the file <module>-tests is the metainformation about the unit test of
the module (optional but recommended).
All the files in this directory are distributed under the following copyright:
Copyright (C) 2002-2024 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
in any medium, are permitted without royalty provided the copyright
notice and this notice are preserved.