F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LocklessQueue.cpp File Reference
#include <Os/LocklessQueue.hpp>
#include <Fw/Types/Assert.hpp>
#include <fcntl.h>
#include <cstring>
#include <new>

Go to the source code of this file.

Namespaces

namespace  Os
 

Macros

#define CAS(a_ptr, a_oldVal, a_newVal)   __sync_bool_compare_and_swap(a_ptr, a_oldVal, a_newVal)
 

Macro Definition Documentation

◆ CAS

#define CAS ( a_ptr,
a_oldVal,
a_newVal )   __sync_bool_compare_and_swap(a_ptr, a_oldVal, a_newVal)

Definition at line 8 of file LocklessQueue.cpp.