HomeFreeBSD

Add pthread_peekjoin_np(3).

Description

Add pthread_peekjoin_np(3).

The function allows to peek at the thread exit status and even see
return value, without joining (and thus finally destroying) the target
thread.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation (kib)
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D23676

Details

Provenance
kibAuthored on Feb 15 2020, 11:25 PM
Parents
rGa7b61c0af130: sem_remove(): fix the loop that compacts sem array on semaphores removal.
Branches
Unknown
Tags
Unknown

Event Timeline