Lines Matching refs:Dispatcher

34 // used to look up a |Dispatcher| object for a given handle. That object
39 // (which have two). In such a case, there is still a |Dispatcher| (e.g.,
42 // secondary object does NOT have any references to the |Dispatcher|s (even if
47 // |Dispatcher|s for the handles that it wants to wait on with a |Waiter|
50 // The |Dispatcher| then adds the |Waiter| to a |WaiterList| that's either owned
51 // by that |Dispatcher| (see |SimpleDispatcher|) or by a secondary object (e.g.,
60 // switch it to a reader-writer lock). Each |Dispatcher| object then has a lock
65 // 2. |Dispatcher| locks
71 // - While holding a |Dispatcher| lock, you may not unconditionally attempt
72 // to take another |Dispatcher| lock. (This has consequences on the
86 MojoHandle Core::AddDispatcher(const scoped_refptr<Dispatcher>& dispatcher) {
91 scoped_refptr<Dispatcher> Core::GetDispatcher(MojoHandle handle) {
107 scoped_refptr<Dispatcher> dispatcher;
119 // |Dispatcher| in dispatcher.h.
233 scoped_refptr<Dispatcher> dispatcher(GetDispatcher(message_pipe_handle));
302 scoped_refptr<Dispatcher> dispatcher(GetDispatcher(message_pipe_handle));
394 scoped_refptr<Dispatcher> dispatcher(
406 scoped_refptr<Dispatcher> dispatcher(
416 scoped_refptr<Dispatcher> dispatcher(
428 scoped_refptr<Dispatcher> dispatcher(
440 scoped_refptr<Dispatcher> dispatcher(
450 scoped_refptr<Dispatcher> dispatcher(
491 scoped_refptr<Dispatcher> dispatcher(GetDispatcher(buffer_handle));
496 scoped_refptr<Dispatcher> new_dispatcher;
518 scoped_refptr<Dispatcher> dispatcher(GetDispatcher(buffer_handle));
561 scoped_refptr<Dispatcher> dispatcher = GetDispatcher(handles[i]);