commit | 9417a80e48d3bba4bea814178aaa79b905ebab8c | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Aug 17 16:48:14 2012 -0700 |
committer | android code review <noreply-gerritcodereview@google.com> | Fri Aug 17 16:48:14 2012 -0700 |
tree | 5d178fa4a761b4cb52816b7b990209e34804af9f | |
parent | 200de748b91d7638a2c434584abcb3840704494b [diff] | |
parent | 6d6731adc0cd0fb249a2b73a575e5ab2204643cc [diff] |
Merge "Always define the 64-bit int types."
diff --git a/libc/bionic/pthread.c b/libc/bionic/pthread.c index 2e2c09d..40a09ba 100644 --- a/libc/bionic/pthread.c +++ b/libc/bionic/pthread.c
@@ -364,10 +364,10 @@ _thread_created_hook(tid); pthread_mutex_unlock(&gDebuggerNotificationLock); - // Let the thread run. + // Publish the pthread_t and let the thread run. + *thread_out = (pthread_t) thread; pthread_mutex_unlock(start_mutex); - *thread_out = (pthread_t) thread; return 0; }