Searched refs:is_active (Results 1 – 12 of 12) sorted by relevance
| /oneTBB/python/tbb/ |
| H A D | __init__.py | 48 is_active = False variable 196 global is_active 197 assert is_active == False, "tbb.Monkey does not support nesting yet" 198 is_active = True 213 global is_active 214 assert is_active == True, "modified?" 215 is_active = False
|
| H A D | api.i | 123 bool is_active();
|
| /oneTBB/test/common/ |
| H A D | containers_common.h | 135 static bool is_active; 138 if (is_active) { 142 static void activate() { is_active = true; } 143 static void deactivate() { is_active = false; } 149 bool ThrowOnCopy::is_active = false;
|
| /oneTBB/test/conformance/ |
| H A D | conformance_task_arena.cpp | 52 CHECK(attached_arena.is_active()); in __anon3e0b77410202() 54 CHECK(attached_arena2.is_active()); in __anon3e0b77410202() 125 REQUIRE(arena.is_active() == copy.is_active());
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _template_helpers.h | 191 raii_guard( Func f ) noexcept : my_func(f), is_active(true) {} 193 raii_guard( raii_guard&& g ) noexcept : my_func(std::move(g.my_func)), is_active(g.is_active) { 194 g.is_active = false; 198 if (is_active) { 204 is_active = false; 208 bool is_active;
|
| H A D | _flow_graph_impl.h | 250 if (!my_task_arena->is_active()) // failed to attach 252 __TBB_ASSERT(my_task_arena->is_active(), "task arena is not active"); 450 __TBB_ASSERT(g.my_task_arena && g.my_task_arena->is_active(), nullptr); in spawn_in_graph_arena() 464 …__TBB_ASSERT( g.my_task_arena && g.my_task_arena->is_active(), "Is graph's arena initialized and a… in enqueue_in_graph_arena()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | task_arena.h | 317 if( !is_active() ) { 331 if( !is_active() ) { 348 if( !is_active() ) { in initialize() 364 if( is_active() ) { in terminate() 378 bool is_active() const { in is_active() function 436 __TBB_ASSERT(ta.is_active(), nullptr); in submit()
|
| /oneTBB/test/tbb/ |
| H A D | test_task_arena.cpp | 62 CHECK_MESSAGE(!arena.is_active(), "arena should not be active until initialized"); in InitializeAndTerminate() 64 CHECK(arena.is_active()); in InitializeAndTerminate() 66 CHECK_MESSAGE(!arena.is_active(), "arena should not be active; it was terminated"); in InitializeAndTerminate() 71 CHECK_MESSAGE(!arena.is_active(), "arena should not be active until initialized"); in InitializeAndTerminate() 73 CHECK(arena.is_active()); in InitializeAndTerminate() 78 CHECK(!arena.is_active()); in InitializeAndTerminate() 80 CHECK(arena.is_active()); in InitializeAndTerminate() 85 CHECK_MESSAGE(!arena.is_active(), "arena should not be active until initialized"); in InitializeAndTerminate() 87 CHECK(arena.is_active()); in InitializeAndTerminate() 595 CHECK_MESSAGE( arena.is_active()==expect_activated, "Unexpected activation state" ); in ValidateAttachedArena() [all …]
|
| H A D | test_async_node.cpp | 335 is_active = !deferred; in async_activity() 345 is_active = true; in async_activity() 362 if( is_active && my_work_queue.try_pop( work ) ) { in process() 382 is_active = true; in activate() 396 std::atomic< bool > is_active; member in async_activity
|
| /oneTBB/examples/task_arena/fractal/ |
| H A D | fractal.cpp | 85 void fractal::draw_border(bool is_active) { in draw_border() argument 86 color_t color = is_active ? v->get_color(0, 255, 0) // green color in draw_border()
|
| H A D | fractal.hpp | 49 void draw_border(bool is_active);
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | use_input_node.rst | 13 template< typename Body > input_node( graph &g, Body body, bool is_active=true )
|