summaryrefslogtreecommitdiff
path: root/modules/asyncsafe-spin
Commit message (Collapse)AuthorAgeFilesLines
* asyncsafe-spin: Fix compilation error with GCC on 32-bit SPARC.Bruno Haible2020-11-281-0/+1
| | | | | | | | | Reported by Paul Eggert in <https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00066.html>. * m4/sparcv8+.m4: New file. * modules/sparcv8+: New file. * modules/asyncsafe-spin (Depends-on): Add sparcv8+.
* asyncsafe-spin: Reduce code duplication.Bruno Haible2020-07-031-0/+1
| | | | | | * lib/asyncsafe-spin.c: (do_lock, do_unlock): New functions. (asyncsafe_spin_lock, asyncsafe_spin_unlock): Use them. * modules/asyncsafe-spin (configure.ac): Require AC_C_INLINE.
* asyncsafe-spin: New module.Bruno Haible2020-07-011-0/+27
* lib/asyncsafe-spin.h: New file. * lib/asyncsafe-spin.c: New file, based on lib/pthread-spin.c. * modules/asyncsafe-spin: New file.