[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opportunistic GC
From: |
Andrea Corallo |
Subject: |
Re: Opportunistic GC |
Date: |
Mon, 08 Mar 2021 16:18:45 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Philipp Stephani <p.stephani2@gmail.com> writes:
[...]
>> I also expect fork will work, I'm more wondering about interaction with
>> sockets file descriptors or anything else in our codebase and/or in
>> libraries we have loaded.
>>
>> I've read in the past this is an issue in practice in non trivial code
>> and that, because the typical use of fork () nowadays is just to run
>> afterward exec (), operating in the grey between the two was not really
>> a good idea. But I don't have the reference now and if you say it works
>> I've no reasons not to trust you.
>
> The restriction is that you can only call async-signal-safe functions
> in subprocesses before exec. See e.g. the man page for fork on
> GNU/Linux.
Can we enforce that for our case?
Andrea
Re: Opportunistic GC, Andrea Corallo, 2021/03/08
- Re: Opportunistic GC, Pip Cet, 2021/03/08
- Re: Opportunistic GC, Stefan Monnier, 2021/03/08
- Re: Opportunistic GC, Andrea Corallo, 2021/03/08
- Re: Opportunistic GC, Philipp Stephani, 2021/03/08
- Re: Opportunistic GC,
Andrea Corallo <=
- Re: Opportunistic GC, Philipp Stephani, 2021/03/08
Re: Opportunistic GC, Stefan Monnier, 2021/03/08
Re: Opportunistic GC, Eli Zaretskii, 2021/03/08
Re: Opportunistic GC, Pip Cet, 2021/03/10
Re: Opportunistic GC, Eli Zaretskii, 2021/03/10
Re: Opportunistic GC, Pip Cet, 2021/03/11
Re: Opportunistic GC, Eli Zaretskii, 2021/03/11
Re: Opportunistic GC, Pip Cet, 2021/03/11
Re: Opportunistic GC, Eli Zaretskii, 2021/03/11
Re: Opportunistic GC, Pip Cet, 2021/03/11