about summary refs log tree commit diff
path: root/elf/tst-tls21.c
Commit message (Collapse)AuthorAgeFilesLines
* elf: Add test case for [BZ #19329]Szabolcs Nagy2021-05-111-0/+68
Test concurrent dlopen and pthread_create when the loaded modules have TLS. This triggers dl-tls assertion failures more reliably than the nptl/tst-stack4 test. The dlopened module has 100 DT_NEEDED dependencies with TLS, they were reused from an existing TLS test. The number of created threads during dlopen depends on filesystem speed and hardware, but at most 3 threads are alive at a time to limit resource usage. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>