Home | History | Annotate | Download | only in system

Lines Matching refs:Handle

18 #include "mojo/public/cpp/system/handle.h"
22 // A Watcher watches a single Mojo handle for signal state changes.
27 // A callback to be called any time a watched handle changes state in some
36 // |MOJO_RESULT_CANCELLED|: The handle has been closed and the watch has
52 // Indicates if the Watcher is currently watching a handle.
55 // Starts watching |handle|. A Watcher may only watch one handle at a time,
59 // If no signals in |signals| can ever be satisfied for |handle|, this returns
62 // If |handle| is not a valid watchable (message or data pipe) handle, this
65 // Otherwise |MOJO_RESULT_OK| is returned and the handle will be watched until
69 // current thread until |Cancel()| is called or the handle is closed.
72 MojoResult Start(Handle handle,
80 Handle handle() const { return handle_; }
112 // The handle currently under watch. Not owned.
113 Handle handle_;
115 // The callback to call when the handle is signaled.