mirror of git://sourceware.org/git/glibc.git
Flesh out stub not-cancel.h file.
This commit is contained in:
parent
ee586a6d5c
commit
962e6658a3
|
@ -1,5 +1,9 @@
|
||||||
2013-05-06 Roland McGrath <roland@hack.frob.com>
|
2013-05-06 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
|
||||||
|
(pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
|
||||||
|
New macros.
|
||||||
|
|
||||||
* debug/getlogin_r_chk.c: Moved to ...
|
* debug/getlogin_r_chk.c: Moved to ...
|
||||||
* login/getlogin_r_chk.c: ... here.
|
* login/getlogin_r_chk.c: ... here.
|
||||||
* debug/Makefile (routines): Move getlogin_r_chk to ...
|
* debug/Makefile (routines): Move getlogin_r_chk to ...
|
||||||
|
|
|
@ -44,3 +44,11 @@
|
||||||
__fcntl (fd, cmd, val)
|
__fcntl (fd, cmd, val)
|
||||||
# define waitpid_not_cancel(pid, stat_loc, options) \
|
# define waitpid_not_cancel(pid, stat_loc, options) \
|
||||||
__waitpid (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
|
||||||
|
|
Loading…
Reference in New Issue