Skip to content
Commit a71e0f2a authored by Cla Galliard's avatar Cla Galliard Committed by Benjamin Cabé
Browse files

posix: pthread: implement non-standard try-join and timed-join



These functions can be used to join pthreads in a non-standard way.
The function pthread_tryjoin will not block and simply test whether the
thread has exited already. The function pthread_timed_join will only block
until the specified time. The functions are wrappers for calling the
k_thread_join with timeout K_NO_WAIT and with a specific timeout as opposed
to calling it with K_FOREVER.

Signed-off-by: default avatarCla Galliard <clamattia@gmail.com>
parent 7bfd5c0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment