HomeFreeBSD

pthread_join() caller do futex_wait on child_clear_tid. As a results

Description

pthread_join() caller do futex_wait on child_clear_tid. As a results
of multiple simultaneous calls to pthread_join() specifying the same
target thread are undefined wake up the one thread.

Differential Revision: https://reviews.freebsd.org/D1040

Details