RTEMS: cpukit/include/rtems/posix/rwlockimpl.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Functions
rwlockimpl.h File Reference

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

`#include <rtems/score/corerwlockimpl.h>`
`#include <errno.h>`
`#include <pthread.h>`

Go to the source code of this file.

## Data Structures
struct | POSIX_RWLock_Control

## Macros
#define | POSIX_RWLOCK_MAGIC 0x9621dabdUL
#define | POSIX_RWLOCK_VALIDATE_OBJECT(rw)

## Functions
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control * | _POSIX_RWLock_Get (pthread_rwlock_t *rwlock)
bool | _POSIX_RWLock_Auto_initialization (POSIX_RWLock_Control *the_rwlock)

## Detailed Description

Inlined Routines from the POSIX RWLock Manager.

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

## Macro Definition Documentation

## ◆ POSIX_RWLOCK_VALIDATE_OBJECT

#define POSIX_RWLOCK_VALIDATE_OBJECT | ( |  | rw | ) |

Value:
do { \
if ( ( rw ) == NULL ) { \
return EINVAL; \
} \
if ( ( (uintptr_t) ( rw ) ^ POSIX_RWLOCK_MAGIC ) != ( rw )->flags ) { \
if ( !_POSIX_RWLock_Auto_initialization( rw ) ) { \
return EINVAL; \
} \
} \
} while ( 0 )
NULL
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77