]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Add sysdep-cancel.h
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 21 Feb 2018 22:32:46 +0000 (23:32 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 21 Feb 2018 22:32:59 +0000 (23:32 +0100)
ChangeLog
sysdeps/mach/hurd/sysdep-cancel.h [new file with mode: 0644]

index 7f30e3dd10717b0e366b3c9e11f0a2f0c453d64b..3dbdbd44307e60bcd789d37d1d8c1ec075c7e07b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2018-02-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
        * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
+       * sysdeps/mach/hurd/sysdep-cancel.h: New file.
 
 2018-02-20  Rical Jasan  <ricaljasan@pacific.net>
 
diff --git a/sysdeps/mach/hurd/sysdep-cancel.h b/sysdeps/mach/hurd/sysdep-cancel.h
new file mode 100644 (file)
index 0000000..ec55c73
--- /dev/null
@@ -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.  */