RTEMS 6.1-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

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 )
#define NULL
Requests a GPIO pin group configuration.
Definition: xil_types.h:54