commit | 81da061f7285bbcf0acc31142042a9cd0ab8f068 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 27 15:00:32 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 27 15:00:32 2014 +0000 |
tree | c19014d3f7de5c434f0f14b688e465ad3753145d | |
parent | 29239a0f4b309663c17475bb6bc0a849093abeb6 [diff] |
Implement sk_atomic_conditional_inc with sk_atomic_cas. Now that we have sk_atomic_cas, we can replace all the platform-specific CAS loops with one. BUG=skia: R=bungeman@google.com, mtklein@google.com, reed@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/300553003 git-svn-id: http://skia.googlecode.com/svn/trunk@14892 2bbb7eff-a529-9590-31e7-b0007b416f81