RTXI  2.4
The Real-Time eXperiment Interface Documentation
Data Structures | Functions
atomic_fifo_tests.h File Reference
#include <gtest/gtest.h>
#include <atomic_fifo.h>
#include <condition_variable>
#include <mutex>
Include dependency graph for atomic_fifo_tests.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  AtomicFifoTest
 

Functions

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)
 

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.