Home | History | Annotate | Download | only in utils

Lines Matching defs:SkThreadPool

9 #include "SkThreadPool.h"
30 SkThreadPool::SkThreadPool(int count)
33 // Create count threads, all running SkThreadPool::Loop.
35 SkThread* thread = SkNEW_ARGS(SkThread, (&SkThreadPool::Loop, this));
41 SkThreadPool::~SkThreadPool() {
47 void SkThreadPool::wait() {
61 /*static*/ void SkThreadPool::Loop(void* arg) {
62 // The SkThreadPool passes itself as arg to each thread as they're created.
63 SkThreadPool* pool = static_cast<SkThreadPool*>(arg);
109 void SkThreadPool::add(SkRunnable* r) {