4 #include "../../include/pthread.h"
6 hidden int __pthread_once(pthread_once_t *, void (*)(void));
7 hidden void __pthread_testcancel(void);
8 hidden int __pthread_setcancelstate(int, int *);
9 hidden int __pthread_create(pthread_t *restrict, const pthread_attr_t *restrict, void *(*)(void *), void *restrict);
10 hidden _Noreturn void __pthread_exit(void *);
11 hidden int __pthread_join(pthread_t, void **);
12 hidden int __pthread_mutex_lock(pthread_mutex_t *);
13 hidden int __pthread_mutex_trylock(pthread_mutex_t *);
14 hidden int __pthread_mutex_trylock_owner(pthread_mutex_t *);
15 hidden int __pthread_mutex_timedlock(pthread_mutex_t *restrict, const struct timespec *restrict);
16 hidden int __pthread_mutex_unlock(pthread_mutex_t *);
17 hidden int __private_cond_signal(pthread_cond_t *, int);
18 hidden int __pthread_cond_timedwait(pthread_cond_t *restrict, pthread_mutex_t *restrict, const struct timespec *restrict);
19 hidden int __pthread_key_create(pthread_key_t *, void (*)(void *));
20 hidden int __pthread_key_delete(pthread_key_t);
21 hidden int __pthread_rwlock_rdlock(pthread_rwlock_t *);
22 hidden int __pthread_rwlock_tryrdlock(pthread_rwlock_t *);
23 hidden int __pthread_rwlock_timedrdlock(pthread_rwlock_t *__restrict, const struct timespec *__restrict);
24 hidden int __pthread_rwlock_wrlock(pthread_rwlock_t *);
25 hidden int __pthread_rwlock_trywrlock(pthread_rwlock_t *);
26 hidden int __pthread_rwlock_timedwrlock(pthread_rwlock_t *__restrict, const struct timespec *__restrict);
27 hidden int __pthread_rwlock_unlock(pthread_rwlock_t *);