• Jurijs Oniscuks's avatar
    Fix race condition in pthread_create() · 2932f048
    Jurijs Oniscuks authored
    Save thread id to *thread_out before new
    thread is allowed to run else there's a
    risk that the thread has finished and
    been deleted when *thread_out is assigned.
    
    Change-Id: I6b84c61a8df06840877d4ab036f26feace3192d8
    2932f048
pthread.c 70.6 KB