hurd: Add sysdep-cancel.h

This commit is contained in:
Samuel Thibault 2018-02-21 23:32:46 +01:00
parent 30bfee2630
commit 315304d24a
2 changed files with 10 additions and 0 deletions

View File

@ -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>

View File

@ -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. */