commit | 1ea6d23396118a9cfe912b7b8a4e6f231e318ea2 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Jul 09 14:31:33 2012 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Fri Jul 13 16:35:52 2012 -0700 |
tree | 31327ae0fe7ad1e34a3766bf6246c26752704ce7 | |
parent | 68337edf595a0c345ba4b8adcd4f1e541a1d7eb7 [diff] |
Use atomic ops for thread suspend count There was a theoretical but unlikely race if two binder threads executed suspend() or restore() concurrently. Also added comments. Change-Id: I0908acc810b83bdd66455b27ca3429de1662a2cd