Searched refs:new_priority_queue (Results 1 – 2 of 2) sorted by relevance
386 void ThreadGroup::EnqueueAllTaskSources(PriorityQueue* new_priority_queue) { in EnqueueAllTaskSources() argument389 while (!new_priority_queue->IsEmpty()) { in EnqueueAllTaskSources()390 TaskSourceSortKey top_sort_key = new_priority_queue->PeekSortKey(); in EnqueueAllTaskSources()391 RegisteredTaskSource task_source = new_priority_queue->PopTaskSource(); in EnqueueAllTaskSources()398 PriorityQueue new_priority_queue; in HandoffAllTaskSourcesToOtherThreadGroup() local402 new_priority_queue.swap(priority_queue_); in HandoffAllTaskSourcesToOtherThreadGroup()404 destination_thread_group->EnqueueAllTaskSources(&new_priority_queue); in HandoffAllTaskSourcesToOtherThreadGroup()409 PriorityQueue new_priority_queue; in HandoffNonUserBlockingTaskSourcesToOtherThreadGroup() local417 new_priority_queue.Push(priority_queue_.PopTaskSource(), top_sort_key); in HandoffNonUserBlockingTaskSourcesToOtherThreadGroup()419 new_priority_queue.swap(priority_queue_); in HandoffNonUserBlockingTaskSourcesToOtherThreadGroup()[all …]
347 void EnqueueAllTaskSources(PriorityQueue* new_priority_queue);