Visible to Intel only — GUID: GUID-744C491D-92EF-40D3-B75E-C0AF45689F89
Visible to Intel only — GUID: GUID-744C491D-92EF-40D3-B75E-C0AF45689F89
task_group extensions
Description
Intel® oneAPI Threading Building Blocks (oneTBB) implementation extends the tbb::task_group specification with the following members:
requirements for a user-provided function object
API
Header
#include <oneapi/tbb/task_group.h>
Synopsis
namespace oneapi { namespace tbb { class task_group { public: //only the requirements for the return type of function F are changed template<typename F> task_handle defer(F&& f); //only the requirements for the return type of function F are changed template<typename F> task_group_status run_and_wait(const F& f); //only the requirements for the return type of function F are changed template<typename F> void run(F&& f); }; } // namespace tbb } // namespace oneapi
Member Functions
template<typenameF>task_handledefer(F&&f)
As an optimization hint, F might return a task_handle, which task object can be executed next.
template<typenameF>task_group_statusrun_and_wait(constF&f)
As an optimization hint, F might return a task_handle, which task object can be executed next.
template<typenameF>voidrun(F&&f)
As an optimization hint, F might return a task_handle, which task object can be executed next.
See also
oneapi::tbb::task_handle class