Use atomic subtract in shared mutex.

BUG=skia:

Review URL: https://codereview.chromium.org/1348173003
1 file changed