[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug: pthread TLS/TSS key destructors are not always invoked
From: |
Samuel Thibault |
Subject: |
Re: bug: pthread TLS/TSS key destructors are not always invoked |
Date: |
Mon, 14 Feb 2022 01:36:59 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Hello,
This has been lingering in my mbox for a long time.
Bruno Haible, le lun. 04 janv. 2021 09:00:36 +0100, a ecrit:
> This test program, that works fine on all other Unix platforms (including
> glibc/Linux), fails on glibc/Hurd.
> and then runs into the abort() in line 382.
> At this point, sum=4995 and expected_sum=5050. This means that for some
> of the pthread keys, the destructor was not invoked.
Indeed, the current implementation was releasing the join before calling
the destruction of key values, thus the joiner was not sure to see all
destructions. I'll have a look at inverting them, it seems to be fixing
your test.
Thanks,
Samuel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: bug: pthread TLS/TSS key destructors are not always invoked,
Samuel Thibault <=