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

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: Rebase. Created 5 years 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 | « third_party/mojo/src/mojo/edk/embedder/entrypoints.cc ('k') | third_party/mojo/src/mojo/edk/system/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4d670d31214c25fd0914f76178479e556159427f 100644
--- a/third_party/mojo/src/mojo/edk/system/core.h
+++ b/third_party/mojo/src/mojo/edk/system/core.h
@@ -88,6 +88,21 @@ 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 AddHandle(MojoHandle wait_set_handle,
+ MojoHandle handle,
+ MojoHandleSignals signals);
+ MojoResult RemoveHandle(MojoHandle wait_set_handle,
+ MojoHandle handle);
+ MojoResult GetReadyHandles(
+ MojoHandle wait_set_handle,
+ UserPointer<uint32_t> count,
+ UserPointer<MojoHandle> handles,
+ UserPointer<MojoResult> results,
+ UserPointer<MojoHandleSignalsState> signals_states);
+
+ // These methods correspond to the API functions defined in
// "mojo/public/c/system/message_pipe.h":
MojoResult CreateMessagePipe(
UserPointer<const MojoCreateMessagePipeOptions> options,
« no previous file with comments | « third_party/mojo/src/mojo/edk/embedder/entrypoints.cc ('k') | third_party/mojo/src/mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698