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

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

Issue 2100553002: Add Core methods for wait set. (Closed) Base URL: https://github.com/domokit/mojo.git@work790_wait_set_5.4
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_unittest.cc ('k') | no next file » | 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 4e80ee3accde1339b0e80851c6840f8babeff9e6..4fe91ca142948f39fb9d0ca1a84e03bbea8a1104 100644
--- a/mojo/public/c/system/wait_set.h
+++ b/mojo/public/c/system/wait_set.h
@@ -108,12 +108,12 @@ 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.
-MojoResult MojoWaitSetAdd(const struct MojoWaitSetAddOptions* MOJO_RESTRICT
- options, // Optional in.
- MojoHandle wait_set_handle, // In.
+MojoResult MojoWaitSetAdd(MojoHandle wait_set_handle, // In.
MojoHandle handle, // In.
MojoHandleSignals signals, // In.
- uint64_t cookie); // In.
+ uint64_t cookie, // In.
+ const struct MojoWaitSetAddOptions* MOJO_RESTRICT
+ options); // Optional in.
// |MojoWaitSetRemove()|: Removes an entry from the wait set specified by
// |wait_set_handle| (which must have the |MOJO_HANDLE_RIGHT_WRITE| right).
« no previous file with comments | « mojo/edk/system/wait_set_dispatcher_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698