Commit Graph

2 Commits (8da3e6f968b6e5ac296349d2762f9c46840f74ae)

Author SHA1 Message Date
nick black 5815a65fb5
ncsubproc: properly catch exit on non-pidfd path
When we don't have a pidfd available on which to poll(2) (this
is true of Linux pre-5.3, and FreeBSD), we can't rely on a
child death breaking our poll loop. Instead, in this case launch
a second thread, which just sits on a blocking waitpid(2). If
it gets an exit, it calls the completion callback, triggering
the teardown. Closes #728, and ought lets us run the test suite
on FreeBSD.
4 years ago
nick black ee690c12df
add APKBUILD for Alpine Linux 4 years ago