A small improvement over the last patch. For some architectures, an atomic
operation on a 32-bit word is simpler than an atomic operation on a single
byte. You see this when looking at the "gcc -O2 -S" output of the file.
2020-07-01 Bruno Haible
pthread-spin: Optimize fallback for GCC
This patch modifies the fallback implementation of the POSIX spin-locks
so that the unlock operation verifies that the lock is indeed locked.
2020-07-01 Bruno Haible
pthread-spin: Add error checking.
* lib/pthread-spin.c: Include .
(pthread_spin_init