• Magnus Blåudd's avatar
    Bug#42850 race condition in my_thr_init.c · cc8bc86b
    Magnus Blåudd authored
     - Create the "dummy" thread joinable and wait for it to
       exit before continuing in 'my_thread_global_init'
     - This way we know that the pthread library is initialized
       by one thread only
    cc8bc86b
my_thr_init.c 11.6 KB