glibc/libio
Adhemerval Zanella a8410a5fc9 Consolidate non cancellable waitpid call
This patch consolidates all the non cancellable waitpid calls to use
the __waitpid_nocancel identifier.  For non cancellable targets it will
be just a macro to call the default respective symbol while on Linux
will be a internal one.

Checked on x86_64-linux-gnu, x86_64-linux-gnu-x32, and i686-linux-gnu.

	* libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
	__waitpid_nocancel.
	* sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
	(__waitpid_nocancel): New macro.
	* sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
	macro.
	(__waitpid_nocancel): Replace macro with a function.
	* sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
	function.
2017-08-21 15:37:45 -03:00
..
bits Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
__fbufsize.c
__flbf.c
__fpending.c
__fpurge.c
__freadable.c
__freading.c
__fsetlocking.c
__fwritable.c
__fwriting.c
bug-fopena+.c
bug-fseek.c
bug-ftell.c
bug-memstream1.c
bug-mmap-fflush.c
bug-rewind2.c
bug-rewind.c
bug-ungetc2.c
bug-ungetc3.c
bug-ungetc4.c
bug-ungetc.c
bug-ungetwc1.c
bug-ungetwc2.c
bug-wfflush.c
bug-wmemstream1.c
bug-wsetpos.c
clearerr_u.c
clearerr.c
Depend
fcloseall.c
feof_u.c
feof.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
ferror_u.c
ferror.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
filedoalloc.c
fileno.c
fileops.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
fmemopen.c
fputc_u.c
fputc.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
fputwc_u.c
fputwc.c
freopen64.c libio: Avoid dup already opened file descriptor [BZ#21393] 2017-05-22 18:13:35 -03:00
freopen.c libio: Avoid dup already opened file descriptor [BZ#21393] 2017-05-22 18:13:35 -03:00
fseek.c
fseeko64.c
fseeko.c
ftello64.c
ftello.c
fwide.c
fwprintf.c
fwscanf.c
genops.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
getc_u.c
getc.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
getchar_u.c
getchar.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
getwc_u.c
getwc.c
getwchar_u.c
getwchar.c
iofclose.c
iofdopen.c
iofflush_u.c
iofflush.c
iofgetpos64.c
iofgetpos.c
iofgets_u.c
iofgets.c
iofgetws_u.c
iofgetws.c
iofopen64.c
iofopen.c
iofopncook.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
iofputs_u.c
iofputs.c
iofputws_u.c
iofputws.c
iofread_u.c
iofread.c
iofsetpos64.c
iofsetpos.c
ioftell.c
iofwide.c
iofwrite_u.c
iofwrite.c
iogetdelim.c
iogetline.c
iogets.c
iogetwline.c
iolibio.h
iopadn.c
iopopen.c Consolidate non cancellable waitpid call 2017-08-21 15:37:45 -03:00
ioputs.c
ioseekoff.c
ioseekpos.c
iosetbuffer.c
iosetvbuf.c
ioungetc.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
ioungetwc.c
iovdprintf.c
iovsprintf.c
iovsscanf.c
iovswscanf.c
iowpadn.c
libc_fatal.c
libio.h Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
libioP.h Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
Makefile Fix missing redirects in testsuite targets 2017-08-07 18:13:36 +02:00
memstream.c Disable single thread optimization for open_memstream 2017-07-14 16:09:56 +01:00
obprintf.c
oldfileops.c
oldfmemopen.c
oldiofclose.c
oldiofdopen.c
oldiofgetpos64.c
oldiofgetpos.c
oldiofopen.c
oldiofsetpos64.c
oldiofsetpos.c
oldiopopen.c
oldpclose.c
oldstdfiles.c
oldtmpfile.c
pclose.c
peekc.c
putc_u.c
putc.c Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
putchar_u.c
putchar.c
putwc_u.c
putwc.c
putwchar_u.c
putwchar.c
rewind.c
setbuf.c
setlinebuf.c
stdfiles.c
stdio.c
stdio.h Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
strfile.h
strops.c
swprintf.c
swscanf.c
test-fmemopen.c
test-freopen.c
test-freopen.sh
tst_getwc.c
tst_getwc.input
tst_putwc.c
tst_swprintf.c
tst_swscanf.c
tst_wprintf2.c
tst_wprintf.c
tst_wscanf.c
tst_wscanf.input
tst-atime.c
tst-eof.c
tst-ext2.c
tst-ext.c
tst-fgetwc.c
tst-fgetwc.input
tst-fgetws.c
tst-fopenloc2.c
tst-fopenloc.c
tst-fputws.c
tst-freopen.c libio: Avoid dup already opened file descriptor [BZ#21393] 2017-05-22 18:13:35 -03:00
tst-fseek.c
tst-ftell-active-handler.c
tst-ftell-append.c
tst-ftell-partial-wide.c
tst-fwrite-error.c
tst-memstream1.c
tst-memstream2.c
tst-memstream3.c
tst-mmap2-eofsync.c
tst-mmap-eofsync.c
tst-mmap-fflushsync.c
tst-mmap-offend.c
tst-mmap-setvbuf.c
tst-popen1.c
tst-setvbuf1.c
tst-sscanf.c
tst-swscanf.c
tst-ungetwc1.c
tst-ungetwc2.c
tst-widetext.c
tst-widetext.input
tst-wmemstream1.c
tst-wmemstream2.c
tst-wmemstream3.c
vasprintf.c
Versions Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
vscanf.c
vsnprintf.c
vswprintf.c
vtables.c
vwprintf.c
vwscanf.c
wfiledoalloc.c
wfileops.c
wgenops.c
wmemstream.c Disable single thread optimization for open_memstream 2017-07-14 16:09:56 +01:00
wprintf.c
wscanf.c
wstrops.c