#include <ThreadManager.h>
◆ ThreadManager() [1/2]
ThreadManager::ThreadManager |
( |
size_t |
maxThreads | ) |
|
◆ ThreadManager() [2/2]
ThreadManager::ThreadManager |
( |
| ) |
|
|
default |
◆ balanceQueue()
template<class queue_t >
void ThreadManager::balanceQueue |
( |
std::vector< size_t > & |
writerIds, |
|
|
std::vector< size_t > & |
readerIds, |
|
|
queue_t & |
queue, |
|
|
bool & |
stop |
|
) |
| |
|
inline |
◆ getMaxThreads()
size_t ThreadManager::getMaxThreads |
( |
| ) |
const |
◆ registerThreadUser()
size_t ThreadManager::registerThreadUser |
( |
IThreadUser * |
user | ) |
|
◆ setMaxThreads()
void ThreadManager::setMaxThreads |
( |
size_t |
maxThreads | ) |
|
◆ unregisterThreadUser() [1/2]
void ThreadManager::unregisterThreadUser |
( |
size_t |
id | ) |
|
◆ unregisterThreadUser() [2/2]
void ThreadManager::unregisterThreadUser |
( |
std::vector< size_t > & |
ids | ) |
|
The documentation for this class was generated from the following files:
- /home/nico/joda_tmp/tmp-joda-dirs/JODA-gh/libs/joda/core/modules/concurrency/include/joda/concurrency/ThreadManager.h
- /home/nico/joda_tmp/tmp-joda-dirs/JODA-gh/libs/joda/core/modules/concurrency/src/ThreadManager.cpp