Home
last modified time | relevance | path

Searched refs:old_id (Results 1 – 1 of 1) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_task_arena.cpp102 static tbb::enumerable_thread_specific<int> local_id, old_id, slot_id(-3); variable
106 old_id.clear(); in ResetTLS()
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()
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()