资 源 简 介
Overview
This project allows you to execute tasks concurrently based on the master/worker technique.
Tasks are regrouped in task queues and based on a dispatch strategy, workers are automatically assigned to these task queues.
This project comes with some dispatch strategies, but you can easily write your own.
It also allows you to :
* place barriers on task queues,
* get progression status,
* change the number of workers dynamically,
* create task queues dynamically,
* declare the minimum/maximum/optimal number of workers for each task queues, and change them at runtime,
* share values between tasks of a same tasks queue,
* have workers with a context. A context is a set of parameter-value unique to a given worker. Each task declare a context id, if a context id change from one task to an other, the context is automatically charged.
Example 1 - One task feed
```
//At the start of the program, create a workers pool
WorkersPool pool = new Work