summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/forkfd/forkfd_freebsd.c
Commit message (Collapse)AuthorAgeFilesLines
* forkfd: introduce forkfd_wait4() that takes optionsThiago Macieira2020-03-251-7/+15
| | | | | | | | | | | | | | | | | | "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>
* forkfd: move the FreeBSD system implementation to a separate fileThiago Macieira2019-08-201-0/+101
Simplifies the code a bit and will be helpful when I add the Linux equivalent. Change-Id: Iec9c051acd73484c8d94fffd15b99879dc269db9 Reviewed-by: Lars Knoll <lars.knoll@qt.io>