]> Savannah Git Hosting - gnulib.git/commit
pthread-spin: Add error checking.
authorBruno Haible <bruno@clisp.org>
Wed, 1 Jul 2020 20:13:27 +0000 (22:13 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 1 Jul 2020 20:13:27 +0000 (22:13 +0200)
commit6bf513db3802388e3fc8c40a506e23c85a8abf21
tree1df6c51f60b57a68858632fb9ce95a0cd9a68936
parentab0284709c3fafeb51679a309d61b37d7d52dc1d
pthread-spin: Add error checking.

* lib/pthread-spin.c: Include <stdbool.h>.
(pthread_spin_init, pthread_spin_lock, pthread_spin_trylock,
pthread_spin_unlock) [GCC>=4.7]: Prefer an implementation that verifies
the unlocks.
* modules/pthread-spin (Depends-on): Add stdbool.
ChangeLog
lib/pthread-spin.c
modules/pthread-spin