Flutter Engine
The Flutter Engine
fml
concurrent_message_loop_factory.cc
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "flutter/fml/concurrent_message_loop.h"
6
7
namespace
fml
{
8
9
std::shared_ptr<ConcurrentMessageLoop>
ConcurrentMessageLoop::Create
(
10
size_t
worker_count) {
11
return
std::shared_ptr<ConcurrentMessageLoop>{
12
new
ConcurrentMessageLoop
(worker_count)};
13
}
14
15
}
// namespace fml
fml::ConcurrentMessageLoop::Create
static std::shared_ptr< ConcurrentMessageLoop > Create(size_t worker_count=std::thread::hardware_concurrency())
Definition:
concurrent_message_loop_factory.cc:9
fml::ConcurrentMessageLoop::ConcurrentMessageLoop
ConcurrentMessageLoop(size_t worker_count)
Definition:
concurrent_message_loop.cc:14
fml
Definition:
ascii_trie.cc:9
Generated on Sun Jun 23 2024 21:54:57 for Flutter Engine by
1.9.4