[COMMITTED PATCH] Flesh out stub not-cancel.h file.

Roland McGrath roland@hack.frob.com
Mon May 6 23:08:00 GMT 2013


	* sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
	(pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
	New macros.

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



More information about the Libc-alpha mailing list