[patch] Fix for bz14333 -- race between atexit() and exit()
Carlos O'Donell
carlos@redhat.com
Wed Sep 20 16:16:00 GMT 2017
On 09/20/2017 09:52 AM, Paul Pluzhnikov wrote:
> On Tue, Sep 19, 2017 at 6:42 PM, Carlos O'Donell <carlos@redhat.com> wrote:
>> On 09/19/2017 04:33 PM, Paul Pluzhnikov wrote:
>
>>> I'll add your test to the set of tests and send updated patch.
>>
>> My test has an implicit timing dependency. We wait 10 seconds to allow
>> the other thread to make progress against the exit() call, we should
>> change that to use another semaphore so it proceeds in a tick-tock
>> fashion without any timing requirement.
>
> I decided to keep the fix for this newly-discovered problem and the
> new test to a separate patch, which I'll mail after this one is
> committed.
>
> Attached is the current patch with comments updated per above discussion.
Looks great.
Please commit.
I look forward to reviewing the follow-on patch too :-)
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list