about summary refs log tree commit diff
path: root/posix/pause.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-19 17:21:26 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-02-27 16:16:16 -0300
commitb3b6a40ab9ad374a85f347adf1725760f1238eb5 (patch)
tree134f0e6ad8a795b2591b418cfac9a34ef1f1154a /posix/pause.c
parentdfe9aa91564c1bf2a23b5589a5db42f9da5d29b5 (diff)
downloadglibc-b3b6a40ab9ad374a85f347adf1725760f1238eb5.tar.gz
glibc-b3b6a40ab9ad374a85f347adf1725760f1238eb5.tar.xz
glibc-b3b6a40ab9ad374a85f347adf1725760f1238eb5.zip
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.
Diffstat (limited to 'posix/pause.c')
0 files changed, 0 insertions, 0 deletions