The task class is supplied to thread_pool.
More...
#include <Task.hh>
The task class is supplied to thread_pool.
Definition at line 229 of file Task.hh.
◆ future_type
◆ packaged_task_type
typedef std::packaged_task<RetT()> PTL::Task< void, void >::packaged_task_type |
◆ promise_type
◆ result_type
◆ RetT
◆ size_type
◆ this_type
◆ tid_type
◆ void_func_t
◆ Task() [1/4]
template<typename FuncT >
Definition at line 241 of file Task.hh.
242 : TaskFuture<RetT>{}
244 {}
packaged_task_type m_ptask
◆ Task() [2/4]
template<typename FuncT >
PTL::Task< void, void >::Task |
( |
bool |
_is_native, |
|
|
intmax_t |
_depth, |
|
|
FuncT |
func |
|
) |
| |
|
inline |
Definition at line 247 of file Task.hh.
248 : TaskFuture<RetT>{ _is_native, _depth }
250 {}
◆ ~Task()
◆ Task() [3/4]
◆ Task() [4/4]
◆ depth()
intmax_t PTL::VTask::depth |
( |
| ) |
const |
|
inlineinherited |
◆ get()
◆ get_future()
◆ is_native_task()
bool PTL::VTask::is_native_task |
( |
| ) |
const |
|
inlineinherited |
◆ operator()()
virtual void PTL::Task< void, void >::operator() |
( |
| ) |
|
|
inlinefinalvirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ wait()
virtual void PTL::Task< void, void >::wait |
( |
| ) |
|
|
inlinefinalvirtual |
◆ m_depth
intmax_t PTL::VTask::m_depth = 0 |
|
protectedinherited |
◆ m_func
◆ m_is_native
bool PTL::VTask::m_is_native = false |
|
protectedinherited |
◆ m_ptask
The documentation for this class was generated from the following file:
- source/externals/ptl/include/PTL/Task.hh