OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AsyncInvoker
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/third_party/libjingle/source/talk/base/
asyncinvoker.cc
28
#include "talk/base/
asyncinvoker
.h"
32
AsyncInvoker
::
AsyncInvoker
() : destroying_(false) {}
34
AsyncInvoker
::~
AsyncInvoker
() {
41
void
AsyncInvoker
::OnMessage(Message* msg) {
53
void
AsyncInvoker
::Flush(Thread* thread, uint32 id /*= MQID_ANY*/) {
58
thread->Invoke<void>(Bind(&
AsyncInvoker
::Flush, this, thread, id));
72
void
AsyncInvoker
::DoInvoke(Thread* thread, AsyncClosure* closure,
83
NotifyingAsyncClosureBase::NotifyingAsyncClosureBase(
AsyncInvoker
* invoker
[
all
...]
asyncinvoker.h
31
#include "talk/base/
asyncinvoker
-inl.h"
41
// flight are cancelled).
AsyncInvoker
can optionally execute a user-specified
45
//
AsyncInvoker
does not own the thread it calls functors on.
50
// invocation and execution of the functor.
AsyncInvoker
is designed to
51
// help: any calls in flight will be cancelled when the
AsyncInvoker
used to
53
// complete before
AsyncInvoker
destructs.
56
// class that owns the Thread and
AsyncInvoker
objects, and then call its
83
//
AsyncInvoker
invoker_;
86
class
AsyncInvoker
: public MessageHandler {
88
AsyncInvoker
();
[
all
...]
asyncinvoker-inl.h
42
class
AsyncInvoker
;
44
// Helper class for
AsyncInvoker
. Runs a task and triggers a callback
46
// lifetime can be independent of
AsyncInvoker
.
77
NotifyingAsyncClosureBase(
AsyncInvoker
* invoker, Thread* calling_thread);
88
AsyncInvoker
* invoker_;
98
NotifyingAsyncClosure(
AsyncInvoker
* invoker,
126
NotifyingAsyncClosure(
AsyncInvoker
* invoker,
thread_unittest.cc
28
#include "talk/base/
asyncinvoker
.h"
297
void AsyncInvokeIntCallback(
AsyncInvoker
* invoker, Thread* thread) {
321
AsyncInvoker
invoker;
332
AsyncInvoker
invoker;
350
AsyncInvoker
invoker;
361
AsyncInvoker
invoker;
381
AsyncInvoker
invoker;
395
AsyncInvoker
invoker;
413
AsyncInvoker
invoker;
/external/chromium_org/third_party/webrtc/base/
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
...]
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-inl.h
25
class
AsyncInvoker
;
27
// Helper class for
AsyncInvoker
. Runs a task and triggers a callback
29
// lifetime can be independent of
AsyncInvoker
.
60
NotifyingAsyncClosureBase(
AsyncInvoker
* invoker, Thread* calling_thread);
71
AsyncInvoker
* invoker_;
81
NotifyingAsyncClosure(
AsyncInvoker
* invoker,
109
NotifyingAsyncClosure(
AsyncInvoker
* invoker,
thread_unittest.cc
11
#include "webrtc/base/
asyncinvoker
.h"
280
void AsyncInvokeIntCallback(
AsyncInvoker
* invoker, Thread* thread) {
304
AsyncInvoker
invoker;
315
AsyncInvoker
invoker;
333
AsyncInvoker
invoker;
344
AsyncInvoker
invoker;
364
AsyncInvoker
invoker;
378
AsyncInvoker
invoker;
396
AsyncInvoker
invoker;
Completed in 275 milliseconds