In article <[email protected]>, Jörg Sonnenberger <[email protected]> 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
