commit | 7f0a3d7523377097184309152f883f1fcb12a4b8 | [log] [tgz] |
---|---|---|
author | herb <herb@google.com> | Thu Sep 24 07:34:49 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Sep 24 07:34:49 2015 -0700 |
tree | b7f6d9ee1208ead229a40240d26d765dd446c2ae | |
parent | c6363ef7b4763b36a9a0d255bc775a973d2fc7a5 [diff] |
Make mutex semaphore based. This implementation improves performance of SkMutex acquire / release pair from 42ns -> 13 ns. SkSharedMutex and SkSpinlock have the same performance. It also removes specialized windows and linux/mac code. BUG=skia: Review URL: https://codereview.chromium.org/1359733002