Implement wait in terms of waitpid

System Internals / glibc - Adhemerval Zanella [linaro.org] - 19 December 2019 19:11 EST

The POSIX implementation is used as default and both BSD and Linux
version are removed. It simplifies the implementation for architectures that do not provide either __NR_waitpid or __NR_wait4.

Checked on x86_64-linux-gnu and powerpc64le-linux-gnu.

c5cbdacb8a Implement wait in terms of waitpid
posix/wait.c | 6 +-----
sysdeps/posix/wait.c | 30 ------------------------------
sysdeps/unix/bsd/wait.c | 32 --------------------------------
sysdeps/unix/sysv/linux/wait.c | 35 -----------------------------------
4 files changed, 1 insertion(+), 102 deletions(-)

Upstream: sourceware.org


  • Share