summaryrefslogtreecommitdiff
path: root/libc/sysdeps/generic/not-cancel.h
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-05-18 00:51:47 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-05-18 00:51:47 +0000
commiteab7f6089510455a9b26643c64da331749a15650 (patch)
treee069c5f33da7c0cffbb68f47ec07b1b10b6789e4 /libc/sysdeps/generic/not-cancel.h
parentf9b341f7c8c64a0df8707b3cf29b425a25a52d12 (diff)
downloadeglibc2-eab7f6089510455a9b26643c64da331749a15650.tar.gz
Merge changes between r22954 and r23097 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@23098 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/generic/not-cancel.h')
-rw-r--r--libc/sysdeps/generic/not-cancel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/generic/not-cancel.h b/libc/sysdeps/generic/not-cancel.h
index 66882442c..d5e76d56c 100644
--- a/libc/sysdeps/generic/not-cancel.h
+++ b/libc/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