RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Macros | Typedefs
atomic.h File Reference

This header file provides the interfaces of the Atomic Operations. More...

#include <rtems/score/basedefs.h>
#include <rtems/score/isrlevel.h>

Go to the source code of this file.

Macros

#define ATOMIC_ORDER_RELAXED   0
 
#define ATOMIC_ORDER_ACQUIRE   2
 
#define ATOMIC_ORDER_RELEASE   3
 
#define ATOMIC_ORDER_ACQ_REL   4
 
#define ATOMIC_ORDER_SEQ_CST   5
 
#define ATOMIC_INITIALIZER_UINT(value)   ( value )
 
#define ATOMIC_INITIALIZER_ULONG(value)   ( value )
 
#define ATOMIC_INITIALIZER_UINTPTR(value)   ( value )
 
#define ATOMIC_INITIALIZER_FLAG   false
 

Typedefs

typedef unsigned int Atomic_Uint
 
typedef unsigned long Atomic_Ulong
 
typedef uintptr_t Atomic_Uintptr
 
typedef bool Atomic_Flag
 
typedef int Atomic_Order
 

Detailed Description

This header file provides the interfaces of the Atomic Operations.