Inviwo  0.9.10.1
Inviwo documentation
inviwo::ThreadPool Class Reference

Public Member Functions

 ThreadPool (size_t threads, std::function< void()> onThreadStart=[]() {}, std::function< void()> onThreadStop=[]() {})
 
template<class F , class... Args>
auto enqueue (F &&f, Args &&... args) -> std::future< typename std::result_of< F(Args...)>::type >
 
size_t trySetSize (size_t size)
 
size_t getSize () const
 

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