A set of C++11 header-only data structures to handle multithreaded tasks.
This code is highly inspired by Anthony Williams C++ Concurrency in Action
Have a look at the example folder for some code. But here is a quick tour :
- A simple object allowing to wait for an acknowledgement.
- An object holder with notification capabilities.
- An unlimited concurrent queue for passing messages between threads.
- A bounded concurrent queue for passing messages between threads.
- A cache that fills itself automagically with the help of one or more worker threads. This component is currently in use within Duke to enable image preloading but could be used whenever you need to hide latencies (i.e. I/O over disk or network).
- include this folder
make examples
Provides a few examples of how to use the library.
make test
You will need gtest to build the test suite.
- GCC 4.7.2 on Gentoo Linux
- GCC 4.6.3 on Gentoo Linux ** use -std=c++0x instead of -std=c++11
Clang 3.2runs into this GCC issue
MIT license
Copyright (C) 2011-2013 Guillaume Chatelet. See LICENSE.txt for further details.