#include <thread_pool.h>
 | 
|   | thread_pool (size_t num_threads) | 
|   | 
|   | ~thread_pool () | 
|   | 
| template<typename F , typename... Args>  | 
| auto  | submit (F &&func, Args &&... args) -> std::future< decltype(func(args...))> | 
|   | 
| size_t  | size () const | 
|   | 
◆ thread_pool()
  
  
      
        
          | VW::thread_pool::thread_pool  | 
          ( | 
          size_t  | 
          num_threads | ) | 
           | 
         
       
   | 
  
inlineexplicit   | 
  
 
 
◆ ~thread_pool()
  
  
      
        
          | VW::thread_pool::~thread_pool  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ size()
  
  
      
        
          | size_t VW::thread_pool::size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ submit()
template<typename F , typename... Args> 
  
  
      
        
          | auto VW::thread_pool::submit  | 
          ( | 
          F &&  | 
          func,  | 
         
        
           | 
           | 
          Args &&...  | 
          args  | 
         
        
           | 
          ) | 
           |  -> std::future<decltype(func(args...))>
   | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following file:
- /nix/store/2saqbz278bj3pvhbfxlcc50cjbvs3h0h-source/vowpalwabbit/core/include/vw/core/thread_pool.h