8#ifndef SkTaskGroup_DEFINED
9#define SkTaskGroup_DEFINED
42 explicit Enabler(
int threads = -1);
47 std::atomic<int32_t> fPending;
static SkExecutor & GetDefault()
SkTaskGroup(SkExecutor &executor=SkExecutor::GetDefault())
void batch(int N, std::function< void(int)> fn)
void add(std::function< void(void)> fn)
Dart_NativeFunction function
std::unique_ptr< SkExecutor > fThreadPool