mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
9d0e30329c
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>
2 lines
16 B
C
2 lines
16 B
C
int __thread x;
|