D++ (DPP)
C++ Discord API Bot Library
|
A task within a thread pool. A simple lambda that accepts no parameters and returns void. More...
#include <thread_pool.h>
Public Attributes | |
int | priority |
Task priority, lower value is higher priority. More... | |
work_unit | function |
Work unit to execute as the task. More... | |
A task within a thread pool. A simple lambda that accepts no parameters and returns void.
work_unit dpp::thread_pool_task::function |
Work unit to execute as the task.
int dpp::thread_pool_task::priority |
Task priority, lower value is higher priority.