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

Unified Diff: mojo/edk/system/message_pipe.cc

Issue 2068483002: Add an unconditional version of DispatcherAddAwakable(): AddAwakableUnconditional(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops 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/message_pipe.h ('k') | mojo/edk/system/message_pipe_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_pipe.cc
diff --git a/mojo/edk/system/message_pipe.cc b/mojo/edk/system/message_pipe.cc
index ac1088b2dce19230c4d646cd32eab5377e321501..5e6166a979bafec1e63b1aa5589dab557d3df768 100644
--- a/mojo/edk/system/message_pipe.cc
+++ b/mojo/edk/system/message_pipe.cc
@@ -192,6 +192,7 @@ HandleSignalsState MessagePipe::GetHandleSignalsState(unsigned port) const {
MojoResult MessagePipe::AddAwakable(unsigned port,
Awakable* awakable,
MojoHandleSignals signals,
+ bool force,
uint64_t context,
HandleSignalsState* signals_state) {
DCHECK(port == 0 || port == 1);
@@ -199,7 +200,7 @@ MojoResult MessagePipe::AddAwakable(unsigned port,
MutexLocker locker(&mutex_);
DCHECK(endpoints_[port]);
- return endpoints_[port]->AddAwakable(awakable, signals, context,
+ return endpoints_[port]->AddAwakable(awakable, signals, force, context,
signals_state);
}
« no previous file with comments | « mojo/edk/system/message_pipe.h ('k') | mojo/edk/system/message_pipe_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698