summaryrefslogtreecommitdiff
path: root/src/internal/emulate_wait4.c
AgeCommit message (Collapse)AuthorLines
2024-02-22add framework to support archs without a native wait4 syscallRich Felker-0/+55
this commit should make no codegen change for existing archs, but is a prerequisite for new archs including riscv32. the wait4 emulation backend provides both cancellable and non-cancellable variants because waitpid is required to be a cancellation point, but all of our other uses are not, and most of them cannot be. based on patch by Stefan O'Rear.