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++. */ |
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)); |
11 | extern int __pthread_barrier_wait (pthread_barrier_t *__barrier) |
12 | __THROWNL __nonnull ((1)); |
13 | |
14 | /* This function is called to initialize the pthread library. */ |
15 | extern void __pthread_initialize (void) __attribute__ ((weak)); |
16 | #endif |
17 | |