This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix the race between atexit() and exit()
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Ulrich Drepper" <drepper at redhat dot com>
- Cc: Anoop <acv at linux dot vnet dot ibm dot com>, libc-alpha at sourceware dot org, rsa at us dot ibm dot com
- Date: Mon, 6 Oct 2008 16:25:36 -0400
- Subject: Re: [PATCH] Fix the race between atexit() and exit()
- References: <48453437.9050304@linux.vnet.ibm.com> <119aab440806030537o3880e99ct3db44e61c9cc8359@mail.gmail.com> <48CDEA9F.9020102@linux.vnet.ibm.com> <48EA4305.5030109@redhat.com>
On Mon, Oct 6, 2008 at 12:55 PM, Ulrich Drepper <drepper@redhat.com> wrote:
> Anoop wrote:
>> where the patch is explained and a testcase is given for problem
>> recreation.
>
> There is no problem. Your assumptions are simply wrong.
Which assumption?
That a successfully registered atexit handler, even though it was
registered after a thread calls exit(), should be run?
Cheers,
Carlos O'Donell.