• R
    avoid accessing mutex memory after atomic unlock · c68de0be
    Rich Felker 提交于
    this change is needed to fix a race condition and ensure that it's
    possible to unlock and destroy or unmap the mutex as soon as
    pthread_mutex_lock succeeds. POSIX explicitly gives such an example in
    the rationale and requires an implementation to allow such usage.
    c68de0be
pthread_mutex_lock.c 113 字节