about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-02-21 23:32:46 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-02-21 23:32:59 +0100
commit315304d24a5149a3670217514256b4ae959089e3 (patch)
treef24e7e79f15c71eac23cd3c11129def99e463394 /sysdeps/mach/hurd
parent30bfee2630b960050d1d50cafaab43fc171abc03 (diff)
downloadglibc-315304d24a5149a3670217514256b4ae959089e3.tar.gz
glibc-315304d24a5149a3670217514256b4ae959089e3.tar.xz
glibc-315304d24a5149a3670217514256b4ae959089e3.zip
hurd: Add sysdep-cancel.h
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/sysdep-cancel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/sysdep-cancel.h b/sysdeps/mach/hurd/sysdep-cancel.h
new file mode 100644
index 0000000000..ec55c7330f
--- /dev/null
+++ b/sysdeps/mach/hurd/sysdep-cancel.h
@@ -0,0 +1,9 @@
+#include <sysdep.h>
+
+/* Always multi-thread (since there's at least the sig handler), but no
+   handling enabled.  */
+#define SINGLE_THREAD_P (0)
+#define RTLD_SINGLE_THREAD_P (0)
+#define LIBC_CANCEL_ASYNC()	0 /* Just a dummy value.  */
+#define LIBC_CANCEL_RESET(val)	((void)(val)) /* Nothing, but evaluate it.  */
+#define LIBC_CANCEL_HANDLED()	/* Nothing.  */