libabigail
|
This file declares an interface for the worker threads (or thread pool) design pattern. It aims at performing a set of tasks in parallel, using the multi-threading capabilities of the underlying processor(s). More...
#include <memory>
#include <vector>
Go to the source code of this file.
Classes | |
class | queue |
This represents a queue of tasks to be performed. More... | |
struct | queue::task_done_notify |
This functor is to notify listeners that a given task scheduled for execution has been fully executed. More... | |
class | task |
This represents a task to be performed. More... | |
Namespaces | |
namespace | abigail |
Toplevel namespace for libabigail. | |
namespace | abigail::workers |
The namespace of the worker threads (or thread pool) implementation of libabigail. This was modelled after the article https://en.wikipedia.org/wiki/Thread_pool. | |
Typedefs | |
typedef shared_ptr< task > | task_sptr |
Functions | |
size_t | get_number_of_threads () |
This file declares an interface for the worker threads (or thread pool) design pattern. It aims at performing a set of tasks in parallel, using the multi-threading capabilities of the underlying processor(s).
Definition in file abg-workers.h.