commit | 791441e2edfd70837bc70b83edbef356435df00b | [log] [tgz] |
---|---|---|
author | Michael Lentine <mlentine@google.com> | Tue Jan 27 09:01:03 2015 -0800 |
committer | The Android Automerger <android-build@google.com> | Wed Jan 28 15:27:56 2015 -0800 |
tree | cb19f4f8e536388d9338047497da25f1906d87cb | |
parent | 4f97b99b016036123a57ad6fd9843b6fd960ce38 [diff] |
Remove lock around ref count check in terminate. Replace the global lock in terminate for the ref count check with atomics and a local lock. Bug: 19072064 Change-Id: I0cfd6564e227a75b8387a8788b16381d5bc2cc88