Libthreadar 1.4.0
|
defines structure that is suitable to dispatch between many workers taking job order in consideration More...
#include "config.h"
#include <vector>
#include <map>
#include <deque>
#include <memory>
#include "mutex.hpp"
Go to the source code of this file.
Classes | |
class | libthreadar::ratelier_scatter< T > |
the class ratelier_scatter has a fixed length range of slots of arbitrary defined object type More... | |
Namespaces | |
namespace | libthreadar |
This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of this namespace. | |
defines structure that is suitable to dispatch between many workers taking job order in consideration
many worker can get each one oject from the ratelier_scatter while a feeder thread adds new objects ones in sequence. The sequence index can be used on a ratelier_gather to gather job result in in the same order, whatever is the worker execution order (more details given with ratelier_gather's doc)
Definition in file ratelier_scatter.hpp.