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

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

Issue 1504733002: Implementation of WaitSet for new EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-waitset-implementation
Patch Set: Add gyp rules. 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 | « mojo/edk/system/BUILD.gn ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index 3c2154a798f0c46fbbe89c60cfe687cbe07859c5..7c5a2357a6bb046e818ee9807f1d08834c82c635 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -84,6 +84,20 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
MojoHandleSignalsState* signals_states);
// These methods correspond to the API functions defined in
+ // "mojo/public/c/system/wait_set.h":
+ MojoResult CreateWaitSet(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,
+ uint32_t* count,
+ MojoHandle* handles,
+ MojoResult* results,
+ MojoHandleSignalsState* signals_states);
+
+ // These methods correspond to the API functions defined in
// "mojo/public/c/system/message_pipe.h":
MojoResult CreateMessagePipe(
const MojoCreateMessagePipeOptions* options,
« no previous file with comments | « mojo/edk/system/BUILD.gn ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698