1#include_next <pthread.h>
2
3#ifndef _ISOMAC
4/* Prototypes repeated instead of using __typeof because pthread.h is
5 included in C++ tests, and declaring functions with __typeof and
6 __THROW doesn't work for C++. */
7extern int __pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
8 const pthread_barrierattr_t *__restrict
9 __attr, unsigned int __count)
10 __THROW __nonnull ((1));
11#if PTHREAD_IN_LIBC
12libc_hidden_proto (__pthread_barrier_init)
13#endif
14extern int __pthread_barrier_wait (pthread_barrier_t *__barrier)
15 __THROWNL __nonnull ((1));
16#if PTHREAD_IN_LIBC
17libc_hidden_proto (__pthread_barrier_wait)
18#endif
19
20/* This function is called to initialize the pthread library. */
21extern void __pthread_initialize (void) __attribute__ ((weak));
22
23extern int __pthread_kill (pthread_t threadid, int signo);
24
25extern pthread_t __pthread_self (void);
26
27#endif
28

source code of glibc/include/pthread.h