Class ThreadController_NS::SimpleRunningThreadController

template<typename FutureReturnType = void>
class SimpleRunningThreadController : public ThreadController_NS::SimpleThreadController<FutureReturnType>

Public Functions

SimpleRunningThreadController()
template<bool future_return_void = std::is_void<FutureReturnType>::value>
SimpleRunningThreadController(const int max_threads, std::enable_if_t<future_return_void> * = 0)
template<bool future_return_void = std::is_void<FutureReturnType>::value>
SimpleRunningThreadController(const int max_threads, const FutureGetter<FutureReturnType> future_getter, std::enable_if_t<!future_return_void> * = 0)
~SimpleRunningThreadController()
int notify_thread_is_completed()
int getRunningThreadCount() const
void checkThreadsStatus()
template<typename FuncType, typename ...Args>
int startThread(FuncType &&func, Args&&... args)

Private Members

std::atomic<int> n_running_threads_