• R
    fix potential race condition in detached threads · 92f8396b
    Rich Felker 提交于
    after the thread unmaps its own stack/thread structure, the kernel,
    performing child tid clear and futex wake, could clobber a new mapping
    made at the same location as the just-removed thread's tid field.
    disable kernel clearing of child tid to prevent this.
    92f8396b
pthread_create.c 3.5 KB