Flutter Engine
embedder_thread_host.cc File Reference
#include "flutter/shell/platform/embedder/embedder_thread_host.h"
#include <algorithm>
#include "flutter/fml/message_loop.h"
#include "flutter/shell/platform/embedder/embedder_safe_access.h"

Go to the source code of this file.

Namespaces

 flutter
 

Macros

#define FML_USED_ON_EMBEDDER
 

Functions

static std::pair< bool, fml::RefPtr< EmbedderTaskRunner > > flutter::CreateEmbedderTaskRunner (const FlutterTaskRunnerDescription *description)
 Attempts to create a task runner from an embedder task runner description. The first boolean in the pair indicate whether the embedder specified an invalid task runner description. In this case, engine launch must be aborted. If the embedder did not specify any task runner, an engine managed task runner and thread must be selected instead. More...
 
static fml::RefPtr< fml::TaskRunnerflutter::GetCurrentThreadTaskRunner ()
 

Variables

constexpr const char * flutter::kFlutterThreadName = "io.flutter"
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file embedder_thread_host.cc.