On Sun, Mar 18, 2018 at 02:59:50PM -0700, Michael Forney wrote: > 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.
musl isn't the only relevant libc though.
