2001-02-06 18:27:57 +00:00
|
|
|
#include_next <pthread.h>
|
|
|
|
|
2012-02-26 04:18:39 +00:00
|
|
|
#ifndef _ISOMAC
|
2015-06-17 20:16:56 +00:00
|
|
|
/* Prototypes repeated instead of using __typeof because pthread.h is
|
|
|
|
included in C++ tests, and declaring functions with __typeof and
|
|
|
|
__THROW doesn't work for C++. */
|
|
|
|
extern int __pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
|
|
|
|
const pthread_barrierattr_t *__restrict
|
|
|
|
__attr, unsigned int __count)
|
|
|
|
__THROW __nonnull ((1));
|
2021-05-06 13:56:37 +00:00
|
|
|
#if PTHREAD_IN_LIBC
|
|
|
|
libc_hidden_proto (__pthread_barrier_init)
|
|
|
|
#endif
|
2015-06-17 20:16:56 +00:00
|
|
|
extern int __pthread_barrier_wait (pthread_barrier_t *__barrier)
|
|
|
|
__THROWNL __nonnull ((1));
|
2021-06-25 08:42:52 +00:00
|
|
|
#if PTHREAD_IN_LIBC
|
|
|
|
libc_hidden_proto (__pthread_barrier_wait)
|
|
|
|
#endif
|
2015-06-17 20:16:56 +00:00
|
|
|
|
2001-02-06 18:27:57 +00:00
|
|
|
/* This function is called to initialize the pthread library. */
|
|
|
|
extern void __pthread_initialize (void) __attribute__ ((weak));
|
2020-12-07 19:21:55 +00:00
|
|
|
|
|
|
|
extern int __pthread_kill (pthread_t threadid, int signo);
|
|
|
|
|
|
|
|
extern pthread_t __pthread_self (void);
|
|
|
|
|
2012-02-26 04:18:39 +00:00
|
|
|
#endif
|