Intel(R) Threading Building Blocks Doxygen Documentation version 4.2.3
Loading...
Searching...
No Matches
tbb::interface7::this_task_arena Namespace Reference

Functions

template<typename F >
internal::return_type_or_void< F >::type isolate (F &f)
 
template<typename F >
internal::return_type_or_void< F >::type isolate (const F &f)
 

Function Documentation

◆ isolate() [1/2]

template<typename F >
internal::return_type_or_void< F >::type tbb::interface7::this_task_arena::isolate ( const F &  f)

Executes a constant functor in isolation within the current task arena. Since C++11, the method returns the value returned by functor (prior to C++11 it returns void).

Definition at line 471 of file task_arena.h.

471 {
472 return internal::isolate_impl<typename internal::return_type_or_void<F>::type>(f);
473 }

◆ isolate() [2/2]

template<typename F >
internal::return_type_or_void< F >::type tbb::interface7::this_task_arena::isolate ( F &  f)

Executes a mutable functor in isolation within the current task arena. Since C++11, the method returns the value returned by functor (prior to C++11 it returns void).

Definition at line 464 of file task_arena.h.

464 {
465 return internal::isolate_impl<typename internal::return_type_or_void<F>::type>(f);
466 }

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.