|
Falcon
|
#include <ThreadPool.h>
Public Member Functions | |
| void | execute_task () |
| template<typename function_type > | |
| void | submit (function_type func) |
| template<typename function_type , typename ... Args> | |
| void | submit (function_type func, Args ... as) |
Static Public Member Functions | |
| static ThreadPool * | GetThreadPool () |
| static ThreadPool * | GetThreadPool (GLFWwindow *window) |
| static void | ShutDown () |
Class Definition for a job system.
| void ThreadPool::execute_task | ( | ) |
ThreadPool Executer.
|
static |
|
static |
|
static |
| void ThreadPool::submit | ( | function_type | func | ) |
Direct Method for passing in functions to be executed by the thread pool.
| [in] | Any | type of function pointer(including lambdas). |
| void ThreadPool::submit | ( | function_type | func, |
| Args ... | as | ||
| ) |
1.8.17