diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-01-30 16:19:59 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-01-30 16:19:59 -0800 |
commit | 1314bdb2b22ae3613c3e08ae278dbc70f90b965c (patch) | |
tree | 4555994fbcf7b80f5ce9c76922f467aec65df71c /libs/utils | |
parent | a1f5e82f37c77af7b1d630b5bca715d1742f1234 (diff) | |
parent | e88fa50be8d6709ef58b7aeb01c5efa059bcac2e (diff) | |
download | frameworks_base-1314bdb2b22ae3613c3e08ae278dbc70f90b965c.zip frameworks_base-1314bdb2b22ae3613c3e08ae278dbc70f90b965c.tar.gz frameworks_base-1314bdb2b22ae3613c3e08ae278dbc70f90b965c.tar.bz2 |
am e88fa50b: Merge from open-source gingerbread
* commit 'e88fa50be8d6709ef58b7aeb01c5efa059bcac2e':
fix failing thread object run
Diffstat (limited to 'libs/utils')
-rw-r--r-- | libs/utils/Threads.cpp | 1 |
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; } |