SpatialOps
SpatialOps::ThreadPoolFIFO Class Reference

Wrapper for a FIFO thread pool. More...

#include <ThreadPool.h>

Inheritance diagram for SpatialOps::ThreadPoolFIFO:
Collaboration diagram for SpatialOps::ThreadPoolFIFO:

Static Public Member Functions

static ThreadPoolFIFOself ()
 obtain the singleton instance of ThreadPoolFIFO
 
static int resize_pool (const int threadCount)
 set the number of active worker threads in the pool. More...
 
static int get_pool_size ()
 
static int set_pool_capacity (const int threadCount)
 set the maximum number of worker threads in the pool. More...
 
static int get_pool_capacity ()
 

Detailed Description

Wrapper for a FIFO thread pool.

Definition at line 80 of file ThreadPool.h.

Member Function Documentation

◆ get_pool_capacity()

int SpatialOps::ThreadPoolFIFO::get_pool_capacity ( )
static
Returns
the maximum number of threads in the pool

Definition at line 215 of file ThreadPool.cpp.

Referenced by SpatialOps::is_same_type().

Here is the caller graph for this function:

◆ get_pool_size()

int SpatialOps::ThreadPoolFIFO::get_pool_size ( )
static
Returns
the number of active worker threads in the pool

Definition at line 208 of file ThreadPool.cpp.

Referenced by SpatialOps::is_same_type().

Here is the caller graph for this function:

◆ resize_pool()

int SpatialOps::ThreadPoolFIFO::resize_pool ( const int  threadCount)
static

set the number of active worker threads in the pool.

Parameters
threadCountthe number of active threads in the pool
Returns
the number of threads in the pool

Definition at line 205 of file ThreadPool.cpp.

Referenced by SpatialOps::is_same_type().

Here is the caller graph for this function:

◆ set_pool_capacity()

int SpatialOps::ThreadPoolFIFO::set_pool_capacity ( const int  threadCount)
static

set the maximum number of worker threads in the pool.

Parameters
threadCountthe maximum number of threads in the pool
Returns
the maximum number of threads in the pool

Definition at line 212 of file ThreadPool.cpp.

Referenced by SpatialOps::is_same_type().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: