• R
    optimize out setting up robust list with kernel when not needed · 4e98cce1
    Rich Felker 提交于
    as a result of commit 12e1e324, kernel
    processing of the robust list is only needed for process-shared
    mutexes. previously the first attempt to lock any owner-tracked mutex
    resulted in robust list initialization and a set_robust_list syscall.
    this is no longer necessary, and since the kernel's record of the
    robust list must now be cleared at thread exit time for detached
    threads, optimizing it out is more worthwhile than before too.
    4e98cce1
pthread_create.c 8.5 KB