![]() |
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>
Collaboration diagram for dpp::thread_pool_task:Public Attributes | |
| work_unit | function |
| Work unit to execute as the task. More... | |
| int | priority |
| Task priority, lower value is higher priority. 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.