A list of children. More...
#include <task.h>

Public Member Functions | |
| void | clear () |
| Clear the list. | |
| bool | empty () const |
| True if list if empty; false otherwise. | |
| task & | pop_front () |
| Pop the front task from the list. | |
| void | push_back (task &task) |
| Push task onto back of list. | |
| task_list () | |
| Construct empty list. | |
| ~task_list () | |
| Destroys the list, but does not destroy the task objects. | |
Friends | |
| class | interface5::internal::task_base |
| class | task |
Used for method task::spawn_children
Definition at line 745 of file task.h.
| tbb::task_list::task_list | ( | ) | [inline] |
| void tbb::task_list::clear | ( | ) | [inline] |
Definition at line 778 of file task.h.
Referenced by tbb::task::spawn_root_and_wait().
{
first=NULL;
next_ptr=&first;
}
| bool tbb::task_list::empty | ( | ) | const [inline] |
| task& tbb::task_list::pop_front | ( | ) | [inline] |
| void tbb::task_list::push_back | ( | task & | task | ) | [inline] |
Definition at line 762 of file task.h.
Referenced by ConcurrentHashSerialFib(), SimpleSumTask::execute(), and ParallelQueueFib().
friend class interface5::internal::task_base [friend] |
Copyright © 2005-2010 Intel Corporation. All Rights Reserved.
Licensed under the GNU General Public License 2 with the runtime exception.
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
* Other names and brands may be claimed as the property of others.