HomeSort by relevance Sort by last modified time
    Searched defs:AsyncInvoker (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/webrtc/base/
asyncinvoker.h 14 #include "webrtc/base/asyncinvoker-inl.h"
24 // flight are cancelled). AsyncInvoker can optionally execute a user-specified
28 // AsyncInvoker does not own the thread it calls functors on.
33 // invocation and execution of the functor. AsyncInvoker is designed to
34 // help: any calls in flight will be cancelled when the AsyncInvoker used to
36 // complete before AsyncInvoker destructs.
39 // class that owns the Thread and AsyncInvoker objects, and then call its
66 // AsyncInvoker invoker_;
69 class AsyncInvoker : public MessageHandler {
71 AsyncInvoker();
    [all...]
asyncinvoker.cc 11 #include "webrtc/base/asyncinvoker.h"
15 AsyncInvoker::AsyncInvoker() : destroying_(false) {}
17 AsyncInvoker::~AsyncInvoker() {
24 void AsyncInvoker::OnMessage(Message* msg) {
36 void AsyncInvoker::Flush(Thread* thread, uint32 id /*= MQID_ANY*/) {
41 thread->Invoke<void>(Bind(&AsyncInvoker::Flush, this, thread, id));
55 void AsyncInvoker::DoInvoke(Thread* thread, AsyncClosure* closure,
66 NotifyingAsyncClosureBase::NotifyingAsyncClosureBase(AsyncInvoker* invoker
    [all...]

Completed in 573 milliseconds