summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-05-06 16:03:35 -0700
committerRoland McGrath <roland@hack.frob.com>2013-05-06 16:03:35 -0700
commit962e6658a325fdc34c8fd761c41a6c098b8747eb (patch)
tree6ac800ac66b238207aaf589244b878fbf36248c8 /sysdeps/generic
parentee586a6d5c1f904035b702886466aac2bf3a9ba7 (diff)
downloadglibc-962e6658a325fdc34c8fd761c41a6c098b8747eb.tar.gz
glibc-962e6658a325fdc34c8fd761c41a6c098b8747eb.tar.xz
glibc-962e6658a325fdc34c8fd761c41a6c098b8747eb.zip
Flesh out stub not-cancel.h file.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/not-cancel.h8
1 files changed, 8 insertions, 0 deletions
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