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

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

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: . Created 3 years, 10 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
Index: mojo/public/c/system/types.h
diff --git a/mojo/public/c/system/types.h b/mojo/public/c/system/types.h
index 3482d4e17f23713330fd55d9a63677b127cb2f7f..6aa6187fa979ba49f95817f9a8305f27ab80a7a4 100644
--- a/mojo/public/c/system/types.h
+++ b/mojo/public/c/system/types.h
@@ -182,9 +182,9 @@ struct MOJO_ALIGNAS(4) MojoHandleSignalsState {
MOJO_STATIC_ASSERT(sizeof(MojoHandleSignalsState) == 8,
"MojoHandleSignalsState has wrong size");
-// |MojoWatchNotificationFlags|: Passed to a callback invoked as a result of
-// signals being raised on a handle watched by |MojoWatch()|. May take the
-// following values:
+// |MojoWatchNotificationFlags|: Passed to a callback invoked by an armed
yzshen1 2017/03/03 00:03:50 nit: strictly speaking the callback may be called
Ken Rockot(use gerrit already) 2017/03/03 00:37:05 done
+// watcher when its observed signals are raised. May take the following values:
+//
// |MOJO_WATCH_NOTIFICATION_FLAG_FROM_SYSTEM| - The callback is being invoked
// as a result of a system-level event rather than a direct API call from
// user code. This may be used as an indication that user code is safe to

Powered by Google App Engine
This is Rietveld 408576698