X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fpthread.h;h=bba9587e7b026b13df3e6d9aaae5cf1ce7ecd106;hb=b6e1fe0d5e78dac647e85d49c2d537bb071ba49e;hp=99a74a53b5f6b6bc80668db4497a7c9443176a37;hpb=102f6a01e249ce4495f1119ae6d963a2a4a53ce5;p=musl diff --git a/include/pthread.h b/include/pthread.h index 99a74a53..bba9587e 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -79,9 +79,6 @@ int pthread_detach(pthread_t); _Noreturn void pthread_exit(void *); int pthread_join(pthread_t, void **); -#ifdef __GNUC__ -__attribute__((const)) -#endif pthread_t pthread_self(void); int pthread_equal(pthread_t, pthread_t); @@ -217,6 +214,11 @@ 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_setname_np(pthread_t, const char *); +int pthread_getattr_default_np(pthread_attr_t *); +int pthread_setattr_default_np(const pthread_attr_t *); +int pthread_tryjoin_np(pthread_t, void **); +int pthread_timedjoin_np(pthread_t, void **, const struct timespec *); #endif #ifdef __cplusplus