Searched refs:prev_coroutine (Results 1 – 1 of 1) sorted by relevance
99 void swap_coroutine(coroutine_type& prev_coroutine, coroutine_type& new_coroutine);237 inline void swap_coroutine(coroutine_type& prev_coroutine, coroutine_type& new_coroutine) { in swap_coroutine() argument243 prev_coroutine.my_thread_data = nullptr; in swap_coroutine()244 prev_coroutine.my_is_active = false; in swap_coroutine()257 std::unique_lock<std::mutex> lock(prev_coroutine.my_mutex); in swap_coroutine()258 …prev_coroutine.my_condvar.wait(lock, [&prev_coroutine] { return prev_coroutine.my_is_active == tru… in swap_coroutine()260 governor::set_thread_data(*prev_coroutine.my_thread_data); in swap_coroutine()291 inline void swap_coroutine(coroutine_type& prev_coroutine, coroutine_type& new_coroutine) { in swap_coroutine() argument296 prev_coroutine = GetCurrentFiber(); in swap_coroutine()297 __TBB_ASSERT(prev_coroutine, nullptr); in swap_coroutine()[all …]