* [hurd,commited] hurd: Add sysdep-cancel.h
@ 2018-02-21 23:20 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2018-02-21 23:20 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault
---
ChangeLog | 1 +
sysdeps/mach/hurd/sysdep-cancel.h | 9 +++++++++
2 files changed, 10 insertions(+)
create mode 100644 sysdeps/mach/hurd/sysdep-cancel.h
diff --git a/ChangeLog b/ChangeLog
index 7f30e3dd10..3dbdbd4430 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -153,6 +153,7 @@
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
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. */
--
2.16.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-21 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-21 23:20 [hurd,commited] hurd: Add sysdep-cancel.h Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).