Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
A list of children. More...
#include <task.h>
Public Member Functions | |
task_list () | |
Construct empty list. More... | |
~task_list () | |
Destroys the list, but does not destroy the task objects. More... | |
bool | empty () const |
True if list is empty; false otherwise. More... | |
void | push_back (task &task) |
Push task onto back of list. More... | |
task & | pop_front () |
Pop the front task from the list. More... | |
void | clear () |
Clear the list. More... | |
Private Attributes | |
task * | first |
task ** | next_ptr |
Friends | |
class | task |
class | interface5::internal::task_base |
Additional Inherited Members | |
![]() | |
no_copy (const no_copy &)=delete | |
no_copy ()=default | |
|
inline |
|
inline |
Clear the list.
Definition at line 1118 of file task.h.
References tbb::internal::first().
Referenced by tbb::interface5::internal::task_base::spawn(), tbb::task::spawn_and_wait_for_all(), and tbb::task::spawn_root_and_wait().
|
inline |
True if list is empty; false otherwise.
Definition at line 1088 of file task.h.
References tbb::internal::first().
Referenced by tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::try_put_impl().
|
inline |
Pop the front task from the list.
Definition at line 1109 of file task.h.
Referenced by tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::try_put_impl().
Push task onto back of list.
Definition at line 1091 of file task.h.
References tbb::internal::task_prefix::next, tbb::task::prefix(), and task.
Referenced by tbb::internal::while_group_task< Body >::execute(), tbb::interface9::internal::do_group_task_forward< Iterator, Body, Item >::execute(), tbb::interface9::internal::do_group_task_input< Body, Item >::execute(), tbb::internal::pipeline_root_task::execute(), and tbb::interface9::internal::do_task_iter< Iterator, Body, Item >::run_for_random_access_iterator().
|
friend |
|
private |
Definition at line 1076 of file task.h.
Referenced by tbb::interface5::internal::task_base::spawn(), tbb::task::spawn_and_wait_for_all(), and tbb::task::spawn_root_and_wait().
|
private |
Definition at line 1077 of file task.h.
Referenced by tbb::interface5::internal::task_base::spawn(), tbb::task::spawn_and_wait_for_all(), and tbb::task::spawn_root_and_wait().