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

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

Issue 1052723003: NaCl: create a separate namespace for Mojo handles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index aadfb661ec241d6938165e1b716cae3fe1453eec..95f9f5be1e86c654d1336f8bd8628ed2abb4bcbc 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -52,6 +52,9 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
// invalid.
scoped_refptr<Dispatcher> GetDispatcher(MojoHandle handle);
+ // Like GetDispatcher, but also removes the handle from the handle table.
viettrungluu 2015/04/01 23:36:19 nit: For consistency, "GetDispatcher" -> "|GetDisp
Nick Bray (chromium) 2015/04/04 00:09:09 Done.
+ scoped_refptr<Dispatcher> PopDispatcher(MojoHandle handle);
viettrungluu 2015/04/01 23:36:19 For parallelism with HandleTable, call this GetAnd
Nick Bray (chromium) 2015/04/04 00:09:09 Done.
+
// Watches on the given handle for the given signals, calling |callback| when
// a signal is satisfied or when all signals become unsatisfiable. |callback|
// must satisfy stringent requirements -- see |Awakable::Awake()| in

Powered by Google App Engine
This is Rietveld 408576698