Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/wasm/
Dmodule-compiler.cc450 auto* steal_queue = queues_[steal_from_task_id].get(); in StealUnitsAndGetFirst() local
452 if (steal_queue == queue) return {}; in StealUnitsAndGetFirst()
456 base::MutexGuard guard(&steal_queue->mutex); in StealUnitsAndGetFirst()
457 auto* steal_from_vector = &steal_queue->units[wanted_tier]; in StealUnitsAndGetFirst()
477 auto* steal_queue = queues_[steal_from_task_id].get(); in StealTopTierPriorityUnit() local
479 if (steal_queue == queue) return {}; in StealTopTierPriorityUnit()
482 base::MutexGuard guard(&steal_queue->mutex); in StealTopTierPriorityUnit()
484 if (steal_queue->top_tier_priority_units.empty()) return {}; in StealTopTierPriorityUnit()
486 auto unit = steal_queue->top_tier_priority_units.top().unit; in StealTopTierPriorityUnit()
487 steal_queue->top_tier_priority_units.pop(); in StealTopTierPriorityUnit()