pthread: implement try/timed join variants

This commit is contained in:
Bobby Bingham
2016-05-07 13:48:21 -05:00
committed by Rich Felker
parent 6d38c9cf80
commit 3d98146146
2 changed files with 19 additions and 3 deletions

View File

@ -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