summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-05-07 13:48:21 -0500
committerRich Felker <dalias@aerifal.cx>2016-06-30 21:47:24 -0400
commit3d98146146dbe138b380ea7d7f9b93139d768828 (patch)
tree0c8baa7b8ef93d388fa403d83a4560f39e3fa76c /include
parent6d38c9cf80f47623e5e48190046673bbd0dc410b (diff)
downloadmusl-3d98146146dbe138b380ea7d7f9b93139d768828.tar.gz
pthread: implement try/timed join variants
Diffstat (limited to 'include')
-rw-r--r--include/pthread.h2
1 files changed, 2 insertions, 0 deletions
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