[PATCH 1/6] nptl: Fix tst-cancel7 and tst-cancelx7 race condition (BZ #14232)

Florian Weimer fweimer@redhat.com
Fri Jun 11 15:02:13 GMT 2021


* Adhemerval Zanella via Libc-alpha:

> +static const char sem_name[] = "/tst-cancel7-sem";

I don't think this is valid, it will break with concurrent execution of
the test suite from different build trees.

Maybe you could use support_shared_allocate and sem_init with a
process-shared semaphore?

Thanks,
Florian



More information about the Libc-alpha mailing list