From 3d98146146dbe138b380ea7d7f9b93139d768828 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 7 May 2016 13:48:21 -0500 Subject: pthread: implement try/timed join variants --- include/pthread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/pthread.h b/include/pthread.h index af70b739..3d2e0c45 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -214,6 +214,8 @@ struct cpu_set_t; int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); int pthread_getattr_np(pthread_t, pthread_attr_t *); +int pthread_tryjoin_np(pthread_t, void **); +int pthread_timedjoin_np(pthread_t, void **, const struct timespec *); #endif #ifdef __cplusplus -- cgit v1.2.1