Remove __waitpid_nocancel
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 13 Nov 2019 13:42:05 +0000 (10:42 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 19 Dec 2019 19:11:09 +0000 (16:11 -0300)
commit478f70780f28a270205ddbe8cb6ec29cb41d586e
treec46c10ac218ba891188667249f5cb52755e4351c
parent6a265e577e8d7c9c950a793139df19b2d050ce5b
Remove __waitpid_nocancel

It enables and disables cancellation with pthread_setcancelstate
before calling the waitpid.  It simplifies the waitpid implementation
for architectures that do not provide either __NR_waitpid or
__NR_wait4.

Checked on x86_64-linux-gnu.
libio/iopopen.c
sysdeps/generic/not-cancel.h
sysdeps/posix/system.c
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/not-cancel.h
sysdeps/unix/sysv/linux/waitpid_nocancel.c [deleted file]