Blaze 3.9
Task.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_UTIL_THREADPOOL_TASK_H_
36#define _BLAZE_UTIL_THREADPOOL_TASK_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
43#include <functional>
44
45
46namespace blaze {
47
48namespace threadpool {
49
50//=================================================================================================
51//
52// TYPE DEFINITIONS
53//
54//=================================================================================================
55
56//*************************************************************************************************
60using Task = std::function<void(void)>;
61//*************************************************************************************************
62
63} // namespace threadpool
64
65} // namespace blaze
66
67#endif
std::function< void(void)> Task
Handle for a single, executable task.
Definition: Task.h:60