mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
a258598ec7
* lib/glthread/spin.h: New file, based on lib/glthread/lock.h and lib/asyncsafe-spin.h. * lib/glthread/spin.c: New file, based on lib/asyncsafe-spin.c. * modules/spin: New file. * doc/multithread.texi (Choosing a multithreading API): Spin locks no longer require POSIX threads. (Gnulib multithreading): Mention the 'spin' module.
31 lines
457 B
Plaintext
31 lines
457 B
Plaintext
Description:
|
|
Spin locks in multithreaded situations.
|
|
|
|
Files:
|
|
lib/glthread/spin.h
|
|
lib/glthread/spin.c
|
|
m4/atomic-cas.m4
|
|
|
|
Depends-on:
|
|
windows-spin
|
|
sparcv8+
|
|
|
|
configure.ac:
|
|
AC_REQUIRE([gl_ATOMIC_COMPARE_AND_SWAP])
|
|
gl_CONDITIONAL([GL_COND_OBJ_SPIN],
|
|
[case "$host_os" in mingw* | windows*) false;; *) true;; esac])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_SPIN
|
|
lib_SOURCES += glthread/spin.c
|
|
endif
|
|
|
|
Include:
|
|
"glthread/spin.h"
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|