void pthread_exit(void *);
int pthread_join(pthread_t, void **);
void pthread_exit(void *);
int pthread_join(pthread_t, void **);
int pthread_setcancelstate(int, int *);
int pthread_setcanceltype(int, int *);
int pthread_setcancelstate(int, int *);
int pthread_setcanceltype(int, int *);
void __pthread_register_cancel(struct __ptcb *);
void __pthread_unregister_cancel(struct __ptcb *);
void __pthread_unwind_next(struct __ptcb *);
void __pthread_register_cancel(struct __ptcb *);
void __pthread_unregister_cancel(struct __ptcb *);
void __pthread_unwind_next(struct __ptcb *);
#define pthread_cleanup_push(f, x) \
do { struct __ptcb __cb; void (*__f)(void *) = (f); void *__x = (x); \
#define pthread_cleanup_push(f, x) \
do { struct __ptcb __cb; void (*__f)(void *) = (f); void *__x = (x); \