RTEMS CPU Kit with SuperCore  4.11.2
Functions
pbarrierwait.c File Reference

Wait at a Barrier. More...

#include <pthread.h>
#include <errno.h>
#include <rtems/posix/barrierimpl.h>
#include <rtems/score/thread.h>
Include dependency graph for pbarrierwait.c:

Functions

int pthread_barrier_wait (pthread_barrier_t *barrier)
 This directive allows a thread to wait at a barrier. More...
 

Detailed Description

Wait at a Barrier.

Function Documentation

◆ pthread_barrier_wait()

int pthread_barrier_wait ( pthread_barrier_t *  barrier)

This directive allows a thread to wait at a barrier.

Parameters
[in]barrieris the barrier id
Return values
0if successful
PTHREAD_BARRIER_SERIAL_THREADif successful
error_codeif unsuccessful

References _POSIX_Barrier_Get().