summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-07-01 22:59:08 +0200
committerBruno Haible <bruno@clisp.org>2020-07-01 23:00:35 +0200
commit79db2daddd96952239a77b74ebea9d40ccd5878b (patch)
treeb3529e617b76edbe3c51305cd9624b8eede99c98 /modules
parent40dd30f1aa35f84cda62863946b0c0df32df17ba (diff)
downloadgnulib-79db2daddd96952239a77b74ebea9d40ccd5878b.tar.gz
asyncsafe-spin: New module.
* lib/asyncsafe-spin.h: New file. * lib/asyncsafe-spin.c: New file, based on lib/pthread-spin.c. * modules/asyncsafe-spin: New file.
Diffstat (limited to 'modules')
-rw-r--r--modules/asyncsafe-spin27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/asyncsafe-spin b/modules/asyncsafe-spin
new file mode 100644
index 0000000000..40d181b0d4
--- /dev/null
+++ b/modules/asyncsafe-spin
@@ -0,0 +1,27 @@
+Description:
+Spin locks for communication between threads and signal handlers.
+
+Files:
+lib/asyncsafe-spin.h
+lib/asyncsafe-spin.c
+
+Depends-on:
+signal-h
+stdbool
+sigprocmask
+windows-spin
+
+configure.ac:
+AC_CHECK_HEADERS_ONCE([pthread.h])
+
+Makefile.am:
+lib_SOURCES += asyncsafe-spin.c
+
+Include:
+"asyncsafe-spin.h"
+
+License:
+LGPLv2+
+
+Maintainer:
+all