VOX
A little voxel engine
Loading...
Searching...
No Matches
ThreadPool Class Reference

#include <ThreadPool.hpp>

Collaboration diagram for ThreadPool:
Collaboration graph

Public Member Functions

 ~ThreadPool ()
 
std::future< void > submit (std::function< void()> f)
 

Static Public Member Functions

static ThreadPoolget_instance ()
 

Constructor & Destructor Documentation

◆ ~ThreadPool()

ThreadPool::~ThreadPool ( )

Member Function Documentation

◆ get_instance()

static ThreadPool & ThreadPool::get_instance ( )
inlinestatic

◆ submit()

std::future< void > ThreadPool::submit ( std::function< void()>  f)
inline

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