RTXI  2.4
The Real-Time eXperiment Interface Documentation
Functions
atomic_fifo_tests.cpp File Reference
#include <atomic_fifo_tests.h>
#include <thread>
Include dependency graph for atomic_fifo_tests.cpp:

Go to the source code of this file.

Functions

 TEST_F (AtomicFifoTest, isLockFree)
 
 TEST_F (AtomicFifoTest, ReadAndWrite)
 
 TEST_F (AtomicFifoTest, Failures)
 
void send (std::mutex &m, std::condition_variable &cv, std::atomic< bool > &ready, AtomicFifo *fifo, char *message, size_t size)
 
void receive (std::mutex &m, std::condition_variable &cv, std::atomic< bool > &ready, AtomicFifo *fifo, char *output, size_t size)
 
 TEST_F (AtomicFifoTest, Threaded)
 

Function Documentation

◆ receive()

void receive(std::mutex & m,
std::condition_variable & cv,
std::atomic< bool > & ready,
AtomicFifofifo,
char * output,
size_t size 
)

Definition at line 81 of file atomic_fifo_tests.cpp.

◆ send()

void send(std::mutex & m,
std::condition_variable & cv,
std::atomic< bool > & ready,
AtomicFifofifo,
char * message,
size_t size 
)

Definition at line 73 of file atomic_fifo_tests.cpp.

◆ TEST_F() [1/4]

TEST_F(AtomicFifoTest ,
Failures  
)

Definition at line 64 of file atomic_fifo_tests.cpp.

◆ TEST_F() [2/4]

TEST_F(AtomicFifoTest ,
isLockFree  
)

Definition at line 24 of file atomic_fifo_tests.cpp.

◆ TEST_F() [3/4]

TEST_F(AtomicFifoTest ,
ReadAndWrite  
)

Definition at line 31 of file atomic_fifo_tests.cpp.

◆ TEST_F() [4/4]

TEST_F(AtomicFifoTest ,
Threaded  
)

Definition at line 90 of file atomic_fifo_tests.cpp.