Re: [hackers] [sinit] Ensure children are reaped periodically || sin

From: Michael Forney <mforney_AT_mforney.org>
Date: Sun, 18 Mar 2018 14:59:50 -0700

On 2018-03-18, Laslo Hunhold <dev_AT_frign.de> wrote:
> On Sun, 18 Mar 2018 13:09:08 -0700
> Michael Forney <mforney_AT_mforney.org> 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.
Received on Sun Mar 18 2018 - 22:59:50 CET

This archive was generated by hypermail 2.3.0 : Sun Mar 18 2018 - 23:00:27 CET