libabigail
Loading...
Searching...
No Matches
abg-workers.cc File Reference

This file implements 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 <assert.h>
#include <unistd.h>
#include <pthread.h>
#include <queue>
#include <vector>
#include <iostream>
#include "abg-fwd.h"
#include "abg-internal.h"
#include "abg-workers.h"
Include dependency graph for abg-workers.cc:

Go to the source code of this file.

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.
 

Functions

size_t get_number_of_threads ()
 

Detailed Description

This file implements 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.cc.