![]()  | 
  
    Pothos
    0.1.0
    
   The Pothos dataflow programming software suite 
   | 
 
#include <ThreadPool.hpp>
Public Member Functions | |
| ThreadPool (void) | |
| Create a null ThreadPool.  More... | |
| ThreadPool (const std::shared_ptr< void > &) | |
| Create a ThreadPool from an opaque shared_ptr.  More... | |
| ThreadPool (const ThreadPoolArgs &args) | |
| pothos_explicit | operator bool (void) const | 
| const std::shared_ptr< void > & | getContainer (void) const | 
A ThreadPool manages a group of threads that perform work in a Topology. Not only can users configure the number of threads, but there are a variety of other settings such as affinity, real-time priority, and internal threading mechanisms.
| Pothos::ThreadPool::ThreadPool | ( | void | ) | 
Create a null ThreadPool.
| Pothos::ThreadPool::ThreadPool | ( | const std::shared_ptr< void > & | ) | 
Create a ThreadPool from an opaque shared_ptr.
| Pothos::ThreadPool::ThreadPool | ( | const ThreadPoolArgs & | args | ) | 
Create a new ThreadPool from args.
| args | the configuration struct | 
| ThreadPoolError | on bad values | 
| const std::shared_ptr<void>& Pothos::ThreadPool::getContainer | ( | void | ) | const | 
Get access to the underlying container for the thread pool.
| pothos_explicit Pothos::ThreadPool::operator bool | ( | void | ) | const | 
Is this thread pool valid/non-empty?
 1.8.6