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

Reply via email to