aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/ports.gyp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-06-17 07:53:22 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-17 07:53:22 -0700
commit942e99b9c411d093851db8d12c8357f409563007 (patch)
tree8d207ed941ce017ed12cf185ce3b679d0526cafd /gyp/ports.gyp
parent2334fb655f8d4ef5915770d32bf845c88d3627f4 (diff)
Modernize atomics in SkTaskGroup's threadpool.
- Use SkAtomic<int32_t> for pending work count so we're statically forced to operate on it with atomic methods. - Replacing old methods like sk_atomic_inc/dec gives us finer control over which barriers we need for each operation. No public API changes. TBR=reed@google.com BUG=skia: Review URL: https://codereview.chromium.org/1193493003
Diffstat (limited to 'gyp/ports.gyp')
0 files changed, 0 insertions, 0 deletions