Flutter Engine
The Flutter Engine
|
#include <thread.h>
Classes | |
struct | ThreadConfig |
The ThreadConfig is the thread info include thread name, thread priority. More... | |
Public Types | |
enum class | ThreadPriority : int { kBackground , kNormal , kDisplay , kRaster } |
Valid values for priority of Thread. More... | |
using | ThreadConfigSetter = std::function< void(const ThreadConfig &)> |
Public Member Functions | |
Thread (const std::string &name="") | |
Thread (const ThreadConfigSetter &setter, const ThreadConfig &config=ThreadConfig()) | |
~Thread () | |
fml::RefPtr< fml::TaskRunner > | GetTaskRunner () const |
void | Join () |
Static Public Member Functions | |
static void | SetCurrentThreadName (const ThreadConfig &config) |
static size_t | GetDefaultStackSize () |
using fml::Thread::ThreadConfigSetter = std::function<void(const ThreadConfig&)> |
|
strong |
Valid values for priority of Thread.
Definition at line 23 of file thread.h.
|
explicit |
Definition at line 139 of file thread.cc.
|
explicit |
Definition at line 142 of file thread.cc.
fml::Thread::~Thread | ( | ) |
|
static |
fml::RefPtr< fml::TaskRunner > fml::Thread::GetTaskRunner | ( | ) | const |
void fml::Thread::Join | ( | ) |
Definition at line 168 of file thread.cc.
|
static |