summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-01-30 15:29:52 -0800
committerJean-Baptiste Queru <jbq@google.com>2011-01-30 15:30:03 -0800
commite88fa50be8d6709ef58b7aeb01c5efa059bcac2e (patch)
tree23fd178258f1fc5144dd026fdecaf9e9468a459d /libs
parentc12cdda949e6b916dd9e6fa4b30ab8b0d1898faa (diff)
parent65aef1517b070e695e00e9603bf79c166dc4913f (diff)
downloadframeworks_base-e88fa50be8d6709ef58b7aeb01c5efa059bcac2e.zip
frameworks_base-e88fa50be8d6709ef58b7aeb01c5efa059bcac2e.tar.gz
frameworks_base-e88fa50be8d6709ef58b7aeb01c5efa059bcac2e.tar.bz2
Merge from open-source gingerbread
Change-Id: I56f2ed37187796807fbf0de15274a85164f9432c
Diffstat (limited to 'libs')
-rw-r--r--libs/utils/Threads.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp
index ad9a94f..b1bd828 100644
--- a/libs/utils/Threads.cpp
+++ b/libs/utils/Threads.cpp
@@ -778,6 +778,7 @@ int Thread::_threadLoop(void* user)
// called by a new thread using the same thread ID as this one.
self->mThread = thread_id_t(-1);
self->mThreadExitedCondition.broadcast();
+ self->mThread = thread_id_t(-1); // thread id could be reused
self->mLock.unlock();
break;
}