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
Reviewer
markj
Differential Revision
D23676: Add pthread_peekjoin_np(3).
Parents
rS357984: sem_remove(): fix the loop that compacts sem array on semaphores removal.
Branches
Unknown
Tags
Unknown