1 #include_next <pthread.h>
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++. */
7 extern int __pthread_barrier_init (pthread_barrier_t
*__restrict __barrier
,
8 const pthread_barrierattr_t
*__restrict
9 __attr
, unsigned int __count
)
10 __THROW
__nonnull ((1));
12 libc_hidden_proto (__pthread_barrier_init
)
14 extern int __pthread_barrier_wait (pthread_barrier_t
*__barrier
)
15 __THROWNL
__nonnull ((1));
17 libc_hidden_proto (__pthread_barrier_wait
)
20 /* This function is called to initialize the pthread library. */
21 extern void __pthread_initialize (void) __attribute__ ((weak
));
23 extern int __pthread_kill (pthread_t threadid
, int signo
);
25 extern pthread_t
__pthread_self (void);