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

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

Issue 2076263003: Plumb the handle signals state to Awakable::Awake(). (Closed) Base URL: https://github.com/domokit/mojo.git@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
« no previous file with comments | « mojo/edk/system/wait_set_dispatcher.cc ('k') | mojo/edk/system/waiter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/waiter.h
diff --git a/mojo/edk/system/waiter.h b/mojo/edk/system/waiter.h
index 1af19c04fa7a1b08e74ccd108d21c185968e850b..229214a80f5d8d1374b352787dce77a606a8d223 100644
--- a/mojo/edk/system/waiter.h
+++ b/mojo/edk/system/waiter.h
@@ -57,9 +57,10 @@ class Waiter final : public Awakable {
// pipe is closed).
MojoResult Wait(MojoDeadline deadline, uint64_t* context);
- // Wake the waiter up with the given result and context (or no-op if it's been
- // woken up already).
- bool Awake(MojoResult result, uint64_t context) override;
+ // |Awakable| implementation:
+ bool Awake(uint64_t context,
+ AwakeReason reason,
+ const HandleSignalsState& signals_state) override;
private:
util::CondVar cv_; // Associated to |mutex_|.
« no previous file with comments | « mojo/edk/system/wait_set_dispatcher.cc ('k') | mojo/edk/system/waiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698