Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::structured_task_group Class Reference

#include <task_group.h>

Inheritance diagram for tbb::structured_task_group:
Collaboration diagram for tbb::structured_task_group:

Public Member Functions

template<typename F >
task_group_status run_and_wait (task_handle< F > &h)
 
task_group_status wait ()
 
- Public Member Functions inherited from tbb::internal::task_group_base
 task_group_base (uintptr_t traits=0)
 
 ~task_group_base () __TBB_NOEXCEPT(false)
 
template<typename F >
void run (task_handle< F > &h)
 
task_group_status wait ()
 
bool is_canceling ()
 
void cancel ()
 

Additional Inherited Members

- Protected Member Functions inherited from tbb::internal::task_group_base
template<typename F >
task_group_status internal_run_and_wait (F &f)
 
template<typename Task , typename F >
taskprepare_task (__TBB_FORWARDING_REF(F) f)
 
- Protected Attributes inherited from tbb::internal::task_group_base
empty_taskmy_root
 
task_group_context my_context
 

Detailed Description

Definition at line 230 of file task_group.h.

Member Function Documentation

◆ run_and_wait()

template<typename F >
task_group_status tbb::structured_task_group::run_and_wait ( task_handle< F > &  h)
inline

Definition at line 234 of file task_group.h.

234  {
235  h.mark_scheduled();
236  return internal_run_and_wait< task_handle<F> >( h );
237  }
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function h

References h.

◆ wait()

task_group_status tbb::structured_task_group::wait ( )
inline

Definition at line 239 of file task_group.h.

239  {
242  return res;
243  }
task_group_status
Definition: task_group.h:73
void set_ref_count(int count)
Set reference count.
Definition: task.h:761
task_group_status wait()
Definition: task_group.h:166

References tbb::internal::task_group_base::wait().

Here is the call graph for this function:

The documentation for this class was generated from the following file:

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

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.