OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AsyncInvoker
(Results
1 - 2
of
2
) sorted by null
/external/webrtc/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"
18
AsyncInvoker
::
AsyncInvoker
() : destroying_(false) {}
20
AsyncInvoker
::~
AsyncInvoker
() {
27
void
AsyncInvoker
::OnMessage(Message* msg) {
39
void
AsyncInvoker
::Flush(Thread* thread, uint32_t id /*= MQID_ANY*/) {
44
thread->Invoke<void>(Bind(&
AsyncInvoker
::Flush, this, thread, id));
58
void
AsyncInvoker
::DoInvoke(Thread* thread,
68
void
AsyncInvoker
::DoInvokeDelayed(Thread* thread
[
all
...]
Completed in 1669 milliseconds