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

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

Issue 2075353002: Plumb the handle signals state out of Waiter::Wait(). (Closed) Base URL: https://github.com/domokit/mojo.git@work795_wait_set_4.3-x-work794_wait_set_4.2
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
Index: mojo/edk/system/core.cc
diff --git a/mojo/edk/system/core.cc b/mojo/edk/system/core.cc
index f762c8cc482f91f2e9d6587e743d395384aa02b7..c8658a86aec584e72cfe733fa3d7c269da5771c5 100644
--- a/mojo/edk/system/core.cc
+++ b/mojo/edk/system/core.cc
@@ -803,7 +803,7 @@ MojoResult Core::WaitManyInternal(const MojoHandle* handles,
if (result == MOJO_RESULT_ALREADY_EXISTS)
result = MOJO_RESULT_OK; // The i-th one is already "triggered".
else if (result == MOJO_RESULT_OK)
- result = waiter.Wait(deadline, result_index);
+ result = waiter.Wait(deadline, result_index, nullptr);
// Make sure no other dispatchers try to wake |waiter| for the current
// |Wait()|/|WaitMany()| call. (Only after doing this can |waiter| be

Powered by Google App Engine
This is Rietveld 408576698