[hurd,commited] htl: Add missing fork.h
Samuel Thibault
samuel.thibault@ens-lyon.org
Wed Mar 24 13:00:39 GMT 2021
Adhemerval Zanella, le mer. 24 mars 2021 09:56:47 -0300, a ecrit:
> On 24/03/2021 09:45, Samuel Thibault wrote:
> > Adhemerval Zanella, le mer. 24 mars 2021 09:40:36 -0300, a ecrit:
> > > Why exactly tst-atfork2 fails without this includes?
> >
> > It misses the atfork unregister hook called at module unload.
>
> Ok, but *why* exactly? The sysdeps/htl/pt-atfork.c already
> includes register-atfork.h after the fork.h inclusion.
It's not pt-atfork.c which needs UNREGISTER_ATFORK, but
stdlib/cxa_finalize, which gets it from fork.h
Samuel
More information about the Libc-alpha
mailing list