Use gcc attribute ifunc in libc_ifunc macro instead of inline assembly due to false...
[glibc.git] / include / pthread.h
blob858c869a1697099e125cd77775f13ba64d43870e
1 #include_next <pthread.h>
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));
14 /* This function is called to initialize the pthread library. */
15 extern void __pthread_initialize (void) __attribute__ ((weak));
16 #endif