overhaul internally-public declarations using wrapper headers
[musl] / src / include / pthread.h
1 #ifndef PTHREAD_H
2 #define PTHREAD_H
3
4 #include "../../include/pthread.h"
5
6 int __pthread_once(pthread_once_t *, void (*)(void));
7 void __pthread_testcancel(void);
8 int __pthread_setcancelstate(int, int *);
9 int __pthread_create(pthread_t *restrict, const pthread_attr_t *restrict, void *(*)(void *), void *restrict);
10 _Noreturn void __pthread_exit(void *);
11 int __pthread_join(pthread_t, void **);
12 int __pthread_mutex_lock(pthread_mutex_t *);
13 int __pthread_mutex_trylock(pthread_mutex_t *);
14 int __pthread_mutex_trylock_owner(pthread_mutex_t *);
15 int __pthread_mutex_timedlock(pthread_mutex_t *restrict, const struct timespec *restrict);
16 int __pthread_mutex_unlock(pthread_mutex_t *);
17 int __private_cond_signal(pthread_cond_t *, int);
18 int __pthread_cond_timedwait(pthread_cond_t *restrict, pthread_mutex_t *restrict, const struct timespec *restrict);
19 int __pthread_key_create(pthread_key_t *, void (*)(void *));
20 int __pthread_key_delete(pthread_key_t);
21
22 #endif