diff options
| author | 2011-01-30 16:19:59 -0800 | |
|---|---|---|
| committer | 2011-01-30 16:19:59 -0800 | |
| commit | 1314bdb2b22ae3613c3e08ae278dbc70f90b965c (patch) | |
| tree | 4555994fbcf7b80f5ce9c76922f467aec65df71c | |
| parent | a1f5e82f37c77af7b1d630b5bca715d1742f1234 (diff) | |
| parent | e88fa50be8d6709ef58b7aeb01c5efa059bcac2e (diff) | |
am e88fa50b: Merge from open-source gingerbread
* commit 'e88fa50be8d6709ef58b7aeb01c5efa059bcac2e':
fix failing thread object run
| -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 ad9a94f594f5..b1bd8284430f 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; } |