commit | 9b1515590cd18cb9dd6c8ed99bf2145a30e011c1 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Sun Jan 30 15:17:33 2011 -0800 |
committer | Android Code Review <code-review@android.com> | Sun Jan 30 15:17:33 2011 -0800 |
tree | 3608db992e195ce2ef85770ae9cd233c5e8f165e | |
parent | ccacf00df239b8231f154167c99d4ae74cf305e9 [diff] | |
parent | 5ee1a0c5ee41a9c7366e7e378e5ab232072bb983 [diff] |
Merge "fix failing thread object run" into gingerbread
diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp index f6c55e4..0b360f4 100644 --- a/libs/utils/Threads.cpp +++ b/libs/utils/Threads.cpp
@@ -775,6 +775,7 @@ self->mLock.lock(); self->mRunning = false; self->mThreadExitedCondition.broadcast(); + self->mThread = thread_id_t(-1); // thread id could be reused self->mLock.unlock(); break; }