]> sourceware.org Git - glibc.git/commit
posix: Refactor tst-waitid (BZ #14666)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 19 Nov 2019 20:21:26 +0000 (17:21 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 27 Feb 2020 19:16:16 +0000 (16:16 -0300)
commitb3b6a40ab9ad374a85f347adf1725760f1238eb5
tree134f0e6ad8a795b2591b418cfac9a34ef1f1154a
parentdfe9aa91564c1bf2a23b5589a5db42f9da5d29b5
posix: Refactor tst-waitid (BZ #14666)

The main changes are:

  - Adapt to libsupport.
  - Synchronize the signal handler using atomics.
  - Replace waitpid by waitid calls.
  - Use support_process_state_wait to wait for child state.
  - Add tests for P_PGID and P_ALL.
  - Use sigwaitinfo instead of global state set by the signal handler.

Checked on x86_64-linux-gnu and i686-linux-gnu.
posix/tst-waitid.c
This page took 0.03991 seconds and 5 git commands to generate.