libabigail
Classes | Typedefs | Functions
abigail::workers Namespace Reference

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. More...

Classes

class  queue
 This represents a queue of tasks to be performed. More...
 
class  task
 This represents a task to be performed. More...
 

Typedefs

typedef shared_ptr< tasktask_sptr
 

Functions

size_t get_number_of_threads ()
 

Detailed Description

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.

Function Documentation

◆ get_number_of_threads()

size_t get_number_of_threads ( )
Returns
The number of hardware threads of executions advertised by the underlying processor.

Definition at line 75 of file abg-workers.cc.