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

Unified Diff: mojo/public/c/system/wait_set.h

Issue 2106433002: Add thunks for wait set operations, together with public tests. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_wait_set_6-x-work790_wait_set_5.4
Patch Set: doh 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/public/c/system/tests/wait_unittest.cc ('k') | mojo/public/platform/nacl/libmojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/wait_set.h
diff --git a/mojo/public/c/system/wait_set.h b/mojo/public/c/system/wait_set.h
index 4fe91ca142948f39fb9d0ca1a84e03bbea8a1104..10e82b76c386a5de6f944c332f8903d80e4f0217 100644
--- a/mojo/public/c/system/wait_set.h
+++ b/mojo/public/c/system/wait_set.h
@@ -81,6 +81,8 @@ MOJO_BEGIN_EXTERN_C
// |options| is non null and |*options| is invalid).
// |MOJO_RESULT_RESOURCE_EXHAUSTED| if a process/system/quota/etc. limit has
// been reached.
+// |MOJO_ERROR_CODE_UNIMPLEMENTED| if some unknown/unsupported option has been
+// specified in |*options|.
MojoResult MojoCreateWaitSet(const struct MojoCreateWaitSetOptions*
MOJO_RESTRICT options, // Optional in.
MojoHandle* handle); // Out.
@@ -108,6 +110,8 @@ MojoResult MojoCreateWaitSet(const struct MojoCreateWaitSetOptions*
// some transaction.
// |MOJO_RESULT_RESOURCE_EXHAUSTED| if the handle could not be added due to
// hitting a system or quota limitation.
+// |MOJO_ERROR_CODE_UNIMPLEMENTED| if some unknown/unsupported option has been
+// specified in |*options|.
MojoResult MojoWaitSetAdd(MojoHandle wait_set_handle, // In.
MojoHandle handle, // In.
MojoHandleSignals signals, // In.
« no previous file with comments | « mojo/public/c/system/tests/wait_unittest.cc ('k') | mojo/public/platform/nacl/libmojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698