TripleBuffer.h File Reference
#include <atomic>
#include <type_traits>
#include <iostream>
#include <SimoxUtility/threads/system_thread_id.h>
+ Include dependency graph for TripleBuffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  TripleBuffer< T >
 A simple triple buffer for lockfree comunication between a single writer and a single reader. More...
class  WriteBufferedTripleBuffer< T >
 Same as the TripleBuffer, but partial writes of the data structure are ok. The write operation may be a bit slower and memory consumption may be 1/3 higher. More...


 This file offers overloads of toIce() and fromIce() functions for STL container types.



Macro Definition Documentation


if (debugMode.load()) \
std::cout << '[' << simox::system_thread_id() << "] [" << this << "] "

Definition at line 74 of file TripleBuffer.h.