1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/pthread-spin
Bruno Haible 6ebad7abf8 Rename module stdbool-h to bool.
Reported by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00193.html>.

* modules/bool: Renamed from modules/stdbool-h.
* modules/bool-tests: Renamed from modules/stdbool-h-tests.
* modules/bool-c++-tests: Renamed from modules/stdbool-h-c++-tests.
* tests/test-bool.c: Renamed from tests/test-stdbool-h.c.
* tests/test-bool-c++.cc: Renamed from tests/test-stdbool-h-c++.cc.
* tests/test-bool-c++2.cc: Renamed from tests/test-stdbool-h-c++2.cc.
* modules/stdbool-h-c99-tests: Update.
* modules/stdbool-h-c99-c++-tests: Update.
* tests/test-stdbool-h-c99.c: Update.
* tests/test-stdbool-h-c99-c++.cc: Update.
* doc/posix-headers/stdbool.texi: Update.
* doc/gnulib-readme.texi: Update.
* doc/gnulib.texi: Update.
* modules/* (Depends-on): Update.
* modules/stdbool: Update.
2024-12-28 06:20:34 +01:00

37 lines
666 B
Plaintext

Description:
POSIX spin locks.
Files:
lib/pthread-spin.c
m4/pthread-spin.m4
m4/atomic-cas.m4
Depends-on:
pthread-h
bool [test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1]
windows-spin [test $gl_threads_api = windows]
configure.ac:
gl_PTHREAD_SPIN
gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_SPIN],
[test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1])
gl_PTHREAD_MODULE_INDICATOR([pthread-spin])
AC_REQUIRE([gl_ATOMIC_COMPARE_AND_SWAP])
Makefile.am:
if GL_COND_OBJ_PTHREAD_SPIN
lib_SOURCES += pthread-spin.c
endif
Include:
<pthread.h>
Link:
$(LIBPMULTITHREAD)
License:
LGPLv2+
Maintainer:
all