RTEMS  5.1
Data Structures | Macros
barrierimpl.h File Reference

Inlined Routines from the POSIX Barrier Manager. More...

#include <errno.h>
#include <pthread.h>
#include <rtems/score/percpu.h>
#include <rtems/score/threadqimpl.h>

Go to the source code of this file.

Data Structures

struct  POSIX_Barrier_Control
 

Macros

#define POSIX_BARRIER_MAGIC   0x1cf03773UL
 
#define POSIX_BARRIER_TQ_OPERATIONS   &_Thread_queue_Operations_FIFO
 
#define POSIX_BARRIER_VALIDATE_OBJECT(bar)
 

Detailed Description

Inlined Routines from the POSIX Barrier Manager.

This file contains the static inlin implementation of the inlined routines from the POSIX Barrier Manager.

Macro Definition Documentation

◆ POSIX_BARRIER_VALIDATE_OBJECT

#define POSIX_BARRIER_VALIDATE_OBJECT (   bar)
Value:
do { \
if ( \
( bar ) == NULL \
|| ( (uintptr_t) ( bar ) ^ POSIX_BARRIER_MAGIC ) != ( bar )->_flags \
) { \
return EINVAL; \
} \
} while ( 0 )
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77