Debian Codegraph @

libc-top-half/musl/src/include/pthread.h

raw
1 #ifndef PTHREAD_H
2 #define PTHREAD_H
3
4 #include "../../include/pthread.h"
5
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 #ifdef __wasilibc_unmodified_upstream
11 hidden _Noreturn void __pthread_exit(void *);
12 #endif
13 hidden int __pthread_join(pthread_t, void **);
14 hidden int __pthread_mutex_lock(pthread_mutex_t *);
15 hidden int __pthread_mutex_trylock(pthread_mutex_t *);
16 hidden int __pthread_mutex_trylock_owner(pthread_mutex_t *);
17 hidden int __pthread_mutex_timedlock(pthread_mutex_t *restrict, const struct timespec *restrict);
18 hidden int __pthread_mutex_unlock(pthread_mutex_t *);
19 hidden int __private_cond_signal(pthread_cond_t *, int);
20 hidden int __pthread_cond_timedwait(pthread_cond_t *restrict, pthread_mutex_t *restrict, const struct timespec *restrict);
21 hidden int __pthread_key_create(pthread_key_t *, void (*)(void *));
22 hidden int __pthread_key_delete(pthread_key_t);
23 hidden int __pthread_rwlock_rdlock(pthread_rwlock_t *);
24 hidden int __pthread_rwlock_tryrdlock(pthread_rwlock_t *);
25 hidden int __pthread_rwlock_timedrdlock(pthread_rwlock_t *__restrict, const struct timespec *__restrict);
26 hidden int __pthread_rwlock_wrlock(pthread_rwlock_t *);
27 hidden int __pthread_rwlock_trywrlock(pthread_rwlock_t *);
28 hidden int __pthread_rwlock_timedwrlock(pthread_rwlock_t *__restrict, const struct timespec *__restrict);
29 hidden int __pthread_rwlock_unlock(pthread_rwlock_t *);
30
31 #endif