Searched refs:num_async_tasks (Results 1 – 2 of 2) sorted by relevance
84 std::atomic<int> num_async_tasks; variable98 [](base::OnceClosure task, std::atomic<int>& num_async_tasks) { in do_in_main_thread() argument100 num_async_tasks--; in do_in_main_thread()102 std::move(task), std::ref(num_async_tasks)))) { in do_in_main_thread()106 num_async_tasks++; in do_in_main_thread()114 num_async_tasks = 0; in init_message_loop_thread()
132 std::atomic<int> num_async_tasks; variable148 [](base::OnceClosure task, std::atomic<int>& num_async_tasks) { in do_in_main_thread() argument150 num_async_tasks--; in do_in_main_thread()152 std::move(task), std::ref(num_async_tasks)))) { in do_in_main_thread()156 num_async_tasks++; in do_in_main_thread()170 num_async_tasks = 0; in init_message_loop_thread()1821 while (num_async_tasks > 0) in SyncOnMainLoop()