mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
Static applications that call pthread_exit on the main thread segfault. This is because after a thread terminates __libc_start_main decrements __nptl_nthreads which is only defined in pthread_create. Therefore the right solution is to add a requirement to pthread_create from pthread_exit. ~~~ nptl/ 2013-06-24 Vladimir Nikulichev <v.nikulichev@gmail.com> [BZ #12310] * pthread_exit.c: Add reference to pthread_create.rsa/hwcap2_v5
committed by
Carlos O'Donell
3 changed files with 21 additions and 12 deletions
Loading…
Reference in new issue