commit | befeeb8bab263649b2e0dc2b45e43d362fc7d3a7 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 10 18:49:04 2013 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 10 18:49:04 2013 +0000 |
tree | fa4a09181742e8645ae4c3f5132764739a551ce9 | |
parent | c7e864d0714ff0510713ad0197fed13a19a77ac9 [diff] |
SkThreadPool: tweak two little things that have been annoying me 1) it's pretty annoying that SkThreadPool doesn't include SkRunnable for us; 2) add wait() so we don't have to keep using SkAutoTDelete/free() to wait for completion. BUG= R=scroggo@google.com, reed@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/26470005 git-svn-id: http://skia.googlecode.com/svn/trunk/src@11711 2bbb7eff-a529-9590-31e7-b0007b416f81