From 962e6658a325fdc34c8fd761c41a6c098b8747eb Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 6 May 2013 16:03:35 -0700 Subject: Flesh out stub not-cancel.h file. --- sysdeps/generic/not-cancel.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sysdeps/generic/not-cancel.h') diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h index 66882442ca..d5e76d56c3 100644 --- a/sysdeps/generic/not-cancel.h +++ b/sysdeps/generic/not-cancel.h @@ -44,3 +44,11 @@ __fcntl (fd, cmd, val) # define waitpid_not_cancel(pid, stat_loc, options) \ __waitpid (pid, stat_loc, options) +#define pause_not_cancel() \ + __pause () +#define nanosleep_not_cancel(requested_time, remaining) \ + __nanosleep (requested_time, remaining) +#define sigsuspend_not_cancel(set) \ + __sigsuspend (set) + +#define NO_CANCELLATION 1 -- cgit v1.2.1