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

Unified Diff: mojo/edk/system/data_pipe.h

Issue 2060943007: Make it possible to remove an Awakable with a specific "context" from a Dispatcher. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 months 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
« no previous file with comments | « mojo/edk/system/core_test_base.cc ('k') | mojo/edk/system/data_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe.h
diff --git a/mojo/edk/system/data_pipe.h b/mojo/edk/system/data_pipe.h
index 63083b7b0bddcc72bcd9d4f8409ee905f73fa01c..3853efb50ea79eb5ce7599549f4bf31b270dc6e5 100644
--- a/mojo/edk/system/data_pipe.h
+++ b/mojo/edk/system/data_pipe.h
@@ -121,6 +121,9 @@ class DataPipe final : public ChannelEndpointClient {
HandleSignalsState* signals_state);
void ProducerRemoveAwakable(Awakable* awakable,
HandleSignalsState* signals_state);
+ void ProducerRemoveAwakableWithContext(Awakable* awakable,
+ uint64_t context,
+ HandleSignalsState* signals_state);
void ProducerStartSerialize(Channel* channel,
size_t* max_size,
size_t* max_platform_handles);
@@ -156,6 +159,9 @@ class DataPipe final : public ChannelEndpointClient {
HandleSignalsState* signals_state);
void ConsumerRemoveAwakable(Awakable* awakable,
HandleSignalsState* signals_state);
+ void ConsumerRemoveAwakableWithContext(Awakable* awakable,
+ uint64_t context,
+ HandleSignalsState* signals_state);
void ConsumerStartSerialize(Channel* channel,
size_t* max_size,
size_t* max_platform_handles);
« no previous file with comments | « mojo/edk/system/core_test_base.cc ('k') | mojo/edk/system/data_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698