Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libthr/thread/thr_private.h
Show First 20 Lines • Show All 1,007 Lines • ▼ Show 20 Lines | |||||
void *__thr_calloc(size_t num, size_t size); | void *__thr_calloc(size_t num, size_t size); | ||||
void __thr_free(void *cp); | void __thr_free(void *cp); | ||||
void *__thr_malloc(size_t nbytes); | void *__thr_malloc(size_t nbytes); | ||||
void *__thr_realloc(void *cp, size_t nbytes); | void *__thr_realloc(void *cp, size_t nbytes); | ||||
void __thr_malloc_init(void); | void __thr_malloc_init(void); | ||||
void __thr_malloc_prefork(struct pthread *curthread); | void __thr_malloc_prefork(struct pthread *curthread); | ||||
void __thr_malloc_postfork(struct pthread *curthread); | void __thr_malloc_postfork(struct pthread *curthread); | ||||
int _thr_join(pthread_t, void **); | |||||
int _Tthr_kill(pthread_t, int); | |||||
int _thr_getthreadid_np(void); | |||||
void __thr_cleanup_push_imp(void (*)(void *), void *, | |||||
struct _pthread_cleanup_info *); | |||||
void __thr_cleanup_pop_imp(int); | |||||
void _thr_cleanup_push(void (*)(void *), void *); | |||||
void _thr_cleanup_pop(int); | |||||
void _thr_cancel_enter(struct pthread *); | |||||
void _thr_cancel_leave(struct pthread *, int); | |||||
void _Tthr_testcancel(void); | |||||
int _thr_cancel(pthread_t); | |||||
int _thr_atfork(void (*)(void), void (*)(void), void (*)(void)); | |||||
int _thr_attr_destroy(pthread_attr_t *); | |||||
int _thr_attr_get_np(pthread_t, pthread_attr_t *); | |||||
int _thr_attr_getdetachstate(const pthread_attr_t *, int *); | |||||
int _thr_attr_getguardsize(const pthread_attr_t * __restrict, | |||||
size_t * __restrict); | |||||
int _thr_attr_getinheritsched(const pthread_attr_t * __restrict, | |||||
int * __restrict); | |||||
int _thr_attr_getschedparam(const pthread_attr_t * __restrict, | |||||
struct sched_param * __restrict); | |||||
int _thr_attr_getschedpolicy(const pthread_attr_t * __restrict, | |||||
int * __restrict); | |||||
int _thr_attr_getscope(const pthread_attr_t * __restrict, int * __restrict); | |||||
int _thr_attr_getstackaddr(const pthread_attr_t *, void **); | |||||
int _thr_attr_getstacksize(const pthread_attr_t * __restrict, | |||||
size_t * __restrict); | |||||
int _thr_attr_init(pthread_attr_t *); | |||||
int _thr_attr_setdetachstate(pthread_attr_t *, int); | |||||
int _thr_attr_setguardsize(pthread_attr_t *, size_t); | |||||
int _thr_attr_setinheritsched(pthread_attr_t *, int); | |||||
int _thr_attr_setschedparam(pthread_attr_t * __restrict, | |||||
const struct sched_param * __restrict); | |||||
int _thr_attr_setschedpolicy(pthread_attr_t *, int); | |||||
int _thr_attr_setscope(pthread_attr_t *, int); | |||||
int _thr_attr_setstackaddr(pthread_attr_t *, void *); | |||||
int _thr_attr_setstacksize(pthread_attr_t *, size_t); | |||||
int _thr_cond_init(pthread_cond_t * __restrict, | |||||
const pthread_condattr_t * __restrict); | |||||
int _thr_cond_destroy(pthread_cond_t *); | |||||
int _thr_cond_timedwait(pthread_cond_t * __restrict, | |||||
pthread_mutex_t * __restrict, const struct timespec * __restrict); | |||||
int _thr_cond_signal(pthread_cond_t * cond); | |||||
int _thr_cond_broadcast(pthread_cond_t * cond); | |||||
int __thr_cond_wait(pthread_cond_t *, pthread_mutex_t *); | |||||
int _thr_cond_wait(pthread_cond_t *, pthread_mutex_t *); | |||||
int _thr_detach(pthread_t); | |||||
int _thr_equal(pthread_t, pthread_t); | |||||
void _Tthr_exit(void *); | |||||
int _thr_key_create(pthread_key_t *, void (*)(void *)); | |||||
int _thr_key_delete(pthread_key_t); | |||||
int _thr_setspecific(pthread_key_t, const void *); | |||||
void *_thr_getspecific(pthread_key_t); | |||||
int _thr_setcancelstate(int, int *); | |||||
int _thr_setcanceltype(int, int *); | |||||
pthread_t _Tthr_self(void); | |||||
int _thr_rwlock_init(pthread_rwlock_t *, const pthread_rwlockattr_t *); | |||||
int _thr_rwlock_destroy(pthread_rwlock_t *); | |||||
int _Tthr_rwlock_rdlock(pthread_rwlock_t *); | |||||
int _Tthr_rwlock_tryrdlock(pthread_rwlock_t *); | |||||
int _Tthr_rwlock_trywrlock(pthread_rwlock_t *); | |||||
int _Tthr_rwlock_wrlock(pthread_rwlock_t *); | |||||
int _Tthr_rwlock_unlock(pthread_rwlock_t *); | |||||
int _thr_once(pthread_once_t *, void (*)(void)); | |||||
int _thr_sigmask(int, const sigset_t *, sigset_t *); | |||||
int _thr_main_np(void); | |||||
int _thr_mutexattr_init(pthread_mutexattr_t *); | |||||
int _thr_mutexattr_destroy(pthread_mutexattr_t *); | |||||
int _thr_mutexattr_settype(pthread_mutexattr_t *, int); | |||||
int _thr_mutexattr_getrobust(pthread_mutexattr_t *, int *); | |||||
int _thr_mutexattr_setrobust(pthread_mutexattr_t *, int); | |||||
int __Tthr_mutex_init(pthread_mutex_t * __restrict, | |||||
const pthread_mutexattr_t * __restrict); | |||||
int _Tthr_mutex_consistent(pthread_mutex_t *); | |||||
int _thr_mutex_destroy(pthread_mutex_t *); | |||||
int _thr_mutex_unlock(pthread_mutex_t *); | |||||
int __Tthr_mutex_lock(pthread_mutex_t *); | |||||
int __Tthr_mutex_trylock(pthread_mutex_t *); | |||||
__END_DECLS | __END_DECLS | ||||
__NULLABILITY_PRAGMA_POP | __NULLABILITY_PRAGMA_POP | ||||
#endif /* !_THR_PRIVATE_H */ | #endif /* !_THR_PRIVATE_H */ |