Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h

Issue 2533603002: [scheduler] Add options to TaskQueue::InsertFence (Closed)
Patch Set: More nits Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h
index 5dddd846fe256576bfbf15ea09de5a42f975a158..7f8072579b3ceaccd4696f17af797ce7d0eebce9 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h
@@ -49,6 +49,9 @@ class BLINK_PLATFORM_EXPORT WorkQueueSets {
// Assumes |work_queue| contains the lowest enqueue order in the set.
void OnPopQueue(WorkQueue* work_queue);
+ // O(log num queues)
+ void OnQueueBlocked(WorkQueue* work_queue);
+
// O(1)
bool GetOldestQueueInSet(size_t set_index, WorkQueue** out_work_queue) const;

Powered by Google App Engine
This is Rietveld 408576698