diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-02-21 12:41:19 -0800 |
---|---|---|
committer | Edward Welbourne <eddy@chaos.org.uk> | 2020-03-25 20:19:34 +0100 |
commit | 4605583fec7b101057f72b0c8b967fcfac07e12d (patch) | |
tree | 8b6c97fa241447b76c48e0be70b3c2abf8072c31 /tests/auto/corelib/io/qprocess/tst_qprocess.cpp | |
parent | 2b9137426182fb0e0c3ef37cfa8dec0762ad52b4 (diff) |
forkfd: introduce forkfd_wait4() that takes options
"wait4" because it looks like the wait4() BSD function, which has the
signature:
pid_t wait4(pid_t pid, int *wstatus, int options,
struct rusage *rusage);
And because ours also has 4 parameters.
Having options is important anyway. I might want to add some more later,
but we can't really support them with the fall back implementation (in
fact, we don't honor WNOHANG in the fall back implementation either).
Change-Id: I4e559af2a9a1455ab770fffd15f5858bb357e15b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'tests/auto/corelib/io/qprocess/tst_qprocess.cpp')
0 files changed, 0 insertions, 0 deletions