diff options
author | 2015-06-17 07:53:22 -0700 | |
---|---|---|
committer | 2015-06-17 07:53:22 -0700 | |
commit | 942e99b9c411d093851db8d12c8357f409563007 (patch) | |
tree | 8d207ed941ce017ed12cf185ce3b679d0526cafd /src/sfnt/SkOTTable_glyf.h | |
parent | 2334fb655f8d4ef5915770d32bf845c88d3627f4 (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 'src/sfnt/SkOTTable_glyf.h')
0 files changed, 0 insertions, 0 deletions