From 315304d24a5149a3670217514256b4ae959089e3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 21 Feb 2018 23:32:46 +0100 Subject: hurd: Add sysdep-cancel.h --- sysdeps/mach/hurd/sysdep-cancel.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sysdeps/mach/hurd/sysdep-cancel.h (limited to 'sysdeps/mach/hurd') 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 + +/* 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. */ -- cgit 1.4.1