Lines Matching refs:local

120         CHECK_MESSAGE(!old_id.local(), "double call to on_scheduler_entry");  in on_scheduler_entry()
121 old_id.local() = local_id.local(); in on_scheduler_entry()
122 CHECK_MESSAGE(old_id.local() != myId, "double entry to the same arena"); in on_scheduler_entry()
123 local_id.local() = myId; in on_scheduler_entry()
124 slot_id.local() = current_index; in on_scheduler_entry()
127 CHECK_MESSAGE(local_id.local() == myId, "nesting of arenas is broken"); in on_scheduler_exit()
128 CHECK(slot_id.local() == tbb::this_task_arena::current_thread_index()); in on_scheduler_exit()
129 slot_id.local() = -2; in on_scheduler_exit()
130 local_id.local() = old_id.local(); in on_scheduler_exit()
131 old_id.local() = 0; in on_scheduler_exit()
144 CHECK_MESSAGE(!old_id.local(), "inconsistent observer state"); in ~ArenaObserver()
150 CHECK(slot_id.local() == tbb::this_task_arena::current_thread_index()); in operator ()()
161 CHECK_MESSAGE(local_id.local() != 0, "not in explicit arena"); in operator ()()
444 CHECK_MESSAGE( local_id.local() == 0, "TLS was not cleaned?" ); in operator ()()
445 local_id.local() = 1; in operator ()()
456 if ( local_id.local() == 1 ) { in operator ()()
465 …CHECK_MESSAGE( local_id.local() == 1, "Workers are not supposed to enter the arena in this test" ); in operator ()()
712 int &e = myEts.local(); in operator ()()
794 RunTwoBodies( myHeavyMixTestBody.myRandom.local(), in operator ()()
827 int &isolated_level = myIsolatedLevel.local(); in operator ()()
831 utils::FastRandom<>& rnd = myRandom.local(); in operator ()()
892 int &e = myEts.local(); in operator ()()
946 executed.local() = true; in execute()
985 if (!executed.local()) { in TestEnqueue()
989 executed.local() = false; in TestEnqueue()
998 executed.local() = true; in TestEnqueue()
1006 REQUIRE_MESSAGE(executed.local() == false, "An enqueued task was executed within isolate."); in TestEnqueue()
1361 tbb::task_arena*& cur_arena = my_tls.local(); in on_scheduler_entry()
1475 local_id.local() = 1; in TestDefaultCreatedWorkersAmount()
1759 CHECK(my_ets.local()); in operator ()()
1820 ets.local() = 1; in __anon1d1198c31c02()
1956 ets.local() = true; in __anon1d1198c32002()
1974 CHECK(ets.local()); in __anon1d1198c32202()