This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Fix for bz14333 -- race between atexit() and exit()
On Tue, 11 Jul 2017, Paul Pluzhnikov wrote:
> > If there is, it should also be fixed (all
> > atexit-like functions should be fixed).
>
> They all share the implementation, so this is already done here :-)
>
> > Is it possible to add a test / tests for this issue to the glibc
> > testsuite?
>
> Sure. I was going to add it after the "basic" atexit ordering test,
> but since that patch requires revisions, I will send a patch to add
> the multithreaded test for atexit/at_quick_exit/__cxa_at_quick_exit
> separately (or should it be part of this patch?).
A patch fixing a bug should also include the tests for that bug.
--
Joseph S. Myers
joseph@codesourcery.com