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

Unified Diff: third_party/mojo/src/mojo/edk/system/core.h

Issue 1429553002: API definition for WaitSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 5 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/mojo/src/mojo/edk/system/core.h
diff --git a/third_party/mojo/src/mojo/edk/system/core.h b/third_party/mojo/src/mojo/edk/system/core.h
index 2dc504bb0b380acae64ca7b57abba66d8fb04dee..f2350cb18823d4da62804cccf02da99e6dd6b872 100644
--- a/third_party/mojo/src/mojo/edk/system/core.h
+++ b/third_party/mojo/src/mojo/edk/system/core.h
@@ -88,6 +88,18 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
UserPointer<MojoHandleSignalsState> signals_states);
// These methods correspond to the API functions defined in
+ // "mojo/public/c/system/wait_set.h":
+ MojoResult CreateWaitSet(UserPointer<MojoHandle> wait_set_handle);
+ MojoResult AddWaiter(MojoHandle wait_set_handle,
+ MojoHandle handle,
+ MojoHandleSignals signals);
+ MojoResult RemoveWaiter(MojoHandle wait_set_handle,
+ MojoHandle handle);
+ MojoResult GetReadyHandle(MojoHandle wait_set_handle,
+ UserPointer<MojoHandle> handle,
+ UserPointer<MojoHandleSignalsState> signals_state);
+
+ // These methods correspond to the API functions defined in
// "mojo/public/c/system/message_pipe.h":
MojoResult CreateMessagePipe(
UserPointer<const MojoCreateMessagePipeOptions> options,

Powered by Google App Engine
This is Rietveld 408576698