commit | 2932f048327965731c7e1ab9f2968a2ddb1854f5 | [log] [tgz] |
---|---|---|
author | Jurijs Oniscuks <jurijs.oniscuks@sonymobile.com> | Thu Jul 05 14:57:38 2012 +0200 |
committer | Elliott Hughes <enh@google.com> | Fri Aug 17 16:18:32 2012 -0700 |
tree | d8b4473e1e707d67c487f89e49667a65505bd245 | |
parent | 1771a33d11a24f1c47b1ef75e3726c5d9e751f5b [diff] |
Fix race condition in pthread_create() Save thread id to *thread_out before new thread is allowed to run else there's a risk that the thread has finished and been deleted when *thread_out is assigned. Change-Id: I6b84c61a8df06840877d4ab036f26feace3192d8