Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p4checo/triplebuffer-sync
C++ Template class for a Triple Buffer as a concurrency mechanism, using atomic operations
https://github.com/p4checo/triplebuffer-sync
Last synced: 2 months ago
JSON representation
C++ Template class for a Triple Buffer as a concurrency mechanism, using atomic operations
- Host: GitHub
- URL: https://github.com/p4checo/triplebuffer-sync
- Owner: p4checo
- Created: 2013-01-29T16:33:13.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-25T17:31:12.000Z (over 10 years ago)
- Last Synced: 2023-04-08T07:26:46.959Z (over 1 year ago)
- Language: C++
- Size: 153 KB
- Stars: 24
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://github.com/remis-thoughts/blog/blob/master/triple-buffering/src/main/md/triple-buffering.md) on his [blog](http://remis-thoughts.blogspot.pt/2012/01/triple-buffering-as-concurrency_30.html)
####Compilation:
* use -std=c++11 or -std=gnu++11
* specify -march or equivalent for your architecture (for atomic implementation)