In article <cbf2b037-84e7-4504-b4b0-2a22281b2...@bec.de>,
Jörg Sonnenberger  <jo...@bec.de> wrote:
>
>
>On 3/10/25 6:39 AM, Robert Elz wrote:
>> pthread_atfork is called in constructors for libraries, incl
>> libc, so isn't allowed to use malloc(), which might not have
>> been initialised yet.
>
>Well, we could ensure that malloc's ctor has a higher priority...
>
>Joerg

I think that making malloc() work from constructors, would simplify
a lot of things.

christos

Reply via email to