Home
last modified time | relevance | path

Searched refs:MsgLoop (Results 1 - 9 of 9) sorted by relevance

/third_party/gn/src/util/
H A Dmsg_loop.cc12 thread_local MsgLoop* g_current;
15 __tlssim<MsgLoop*> __g_current_impl(nullptr);
20 MsgLoop::MsgLoop() { in MsgLoop() function in MsgLoop
25 MsgLoop::~MsgLoop() { in ~MsgLoop()
30 void MsgLoop::Run() { in Run()
50 void MsgLoop::PostQuit() { in PostQuit()
54 void MsgLoop::PostTask(std::function<void()> work) { in PostTask()
63 void MsgLoop
[all...]
H A Dmsg_loop.h13 class MsgLoop { class
15 MsgLoop();
16 ~MsgLoop();
32 // Gets the MsgLoop for the thread from which it's called, or nullptr if
33 // there's no MsgLoop for the current thread.
34 static MsgLoop* Current();
42 MsgLoop(const MsgLoop&) = delete;
43 MsgLoop& operator=(const MsgLoop
[all...]
/third_party/gn/src/gn/
H A Dloader_unittest.cc203 MsgLoop::Current()->RunUntilIdleForTesting();
208 MsgLoop::Current()->RunUntilIdleForTesting();
219 MsgLoop::Current()->RunUntilIdleForTesting();
236 MsgLoop::Current()->RunUntilIdleForTesting();
270 MsgLoop::Current()->RunUntilIdleForTesting();
276 MsgLoop::Current()->RunUntilIdleForTesting();
321 MsgLoop::Current()->RunUntilIdleForTesting();
327 MsgLoop::Current()->RunUntilIdleForTesting();
361 MsgLoop::Current()->RunUntilIdleForTesting();
366 MsgLoop
[all...]
H A Dscheduler.h32 MsgLoop* task_runner() { in task_runner()
113 MsgLoop* main_thread_run_loop_;
H A Dloader.h95 void set_task_runner(MsgLoop* task_runner) { task_runner_ = task_runner; } in set_task_runner()
165 MsgLoop* task_runner_;
H A Dscheduler.cc17 : main_thread_run_loop_(MsgLoop::Current()), in Scheduler()
175 DCHECK(task_runner() == MsgLoop::Current()); in OnComplete()
H A Dtest_with_scheduler.h20 MsgLoop run_loop_;
H A Dgn_main.cc75 MsgLoop msg_loop; in main()
H A Dloader.cc94 task_runner_ = MsgLoop::Current(); in LoaderImpl()

Completed in 4 milliseconds