On 2018-03-18, Laslo Hunhold <[email protected]> wrote: > On Sun, 18 Mar 2018 13:09:08 -0700 > Michael Forney <[email protected]> wrote: >> I wonder if there is another way to do this without a timeout. Perhaps >> a dedicated reaper thread? > > I suggested this too, but rightfully, this would require linking sinit > with libpthread which would be an unacceptable overhead.
A static binary linked against musl using a reaper thread instead of alarm grows from 13600 bytes to 13616 bytes, so "unacceptable overhead" seems like a bit of an exaggeration.
