p4checo / triplebuffer-sync

C++ Template class for a Triple Buffer as a concurrency mechanism, using atomic operations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

triplebuffer-sync

C++ Template class for a Triple Buffer as a concurrency mechanism, using C++11 atomic operations.

Ported from C code made by remis-thoughts on his blog

####Compilation:

  • use -std=c++11 or -std=gnu++11
  • specify -march or equivalent for your architecture (for atomic implementation)

About

C++ Template class for a Triple Buffer as a concurrency mechanism, using atomic operations


Languages

Language:C++ 100.0%