#include <SkExecutor.h>
Definition at line 15 of file SkExecutor.h.
◆ ~SkExecutor()
SkExecutor::~SkExecutor |
( |
| ) |
|
|
virtual |
◆ SkExecutor() [1/2]
SkExecutor::SkExecutor |
( |
| ) |
|
|
protecteddefault |
◆ SkExecutor() [2/2]
◆ add()
◆ borrow()
virtual void SkExecutor::borrow |
( |
| ) |
|
|
inlinevirtual |
◆ GetDefault()
Definition at line 50 of file SkExecutor.cpp.
50 {
53 }
55}
static SkExecutor & trivial_executor()
static SkExecutor * gDefaultExecutor
◆ MakeFIFOThreadPool()
std::unique_ptr< SkExecutor > SkExecutor::MakeFIFOThreadPool |
( |
int |
threads = 0 , |
|
|
bool |
allowBorrowing = true |
|
) |
| |
|
static |
Definition at line 146 of file SkExecutor.cpp.
146 {
148 return std::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads :
num_cores(),
149 allowBorrowing);
150}
Dart_NativeFunction function
◆ MakeLIFOThreadPool()
std::unique_ptr< SkExecutor > SkExecutor::MakeLIFOThreadPool |
( |
int |
threads = 0 , |
|
|
bool |
allowBorrowing = true |
|
) |
| |
|
static |
Definition at line 151 of file SkExecutor.cpp.
151 {
153 return std::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads :
num_cores(),
154 allowBorrowing);
155}
◆ operator=()
◆ SetDefault()
void SkExecutor::SetDefault |
( |
SkExecutor * |
executor | ) |
|
|
static |
The documentation for this class was generated from the following files: