RTEMS CPU Kit with SuperCore
4.11.3
|
Wait at a Barrier. More...
#include <pthread.h>
#include <errno.h>
#include <rtems/posix/barrierimpl.h>
#include <rtems/score/thread.h>
Functions | |
int | pthread_barrier_wait (pthread_barrier_t *barrier) |
This directive allows a thread to wait at a barrier. More... | |
Wait at a Barrier.
int pthread_barrier_wait | ( | pthread_barrier_t * | barrier | ) |
This directive allows a thread to wait at a barrier.
[in] | barrier | is the barrier id |
0 | if successful |
PTHREAD_BARRIER_SERIAL_THREAD | if successful |
error_code | if unsuccessful |
References _POSIX_Barrier_Get().