diff options
| author | 2012-01-06 08:39:38 -0800 | |
|---|---|---|
| committer | 2012-02-10 15:02:44 -0800 | |
| commit | 761286f65b4afd19180b1f6814ee27f0f585a5f0 (patch) | |
| tree | 78865e19dbf34df6d330f81347523230f6cf3c18 /libs/androidfw/KeyCharacterMap.cpp | |
| parent | f4aaf1f56247289838f4bb25ee704196464be4f2 (diff) | |
Simplify ThreadBase::exit() aka requestExitAndWait
We can remove mExiting and use Thread::exitPending() instead.
The local sp<> on "this" in exit() is not needed, since the caller must
also hold an sp<> in order to be calling us. (Unless it was using a raw
pointer, but that would be dangerous for other reasons.)
Add comment explaining the mLock in exit().
Change-Id: I319e5107533a1a7cdbd13c292685f3e2be60f6c4
Diffstat (limited to 'libs/androidfw/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions