diff options
author | Yabin Cui <yabinc@google.com> | 2015-03-19 14:19:19 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2015-03-23 19:03:49 -0700 |
commit | 673b15e4ee2c6d99b150aedddc0f389e29f98e1b (patch) | |
tree | edc101b54c689960bdf1262e6378b21082d3e277 /libc/Android.mk | |
parent | 4149dc944bbe3c5f1c14fc998106975e68bdd6bf (diff) | |
download | android_bionic-673b15e4ee2c6d99b150aedddc0f389e29f98e1b.tar.gz android_bionic-673b15e4ee2c6d99b150aedddc0f389e29f98e1b.tar.bz2 android_bionic-673b15e4ee2c6d99b150aedddc0f389e29f98e1b.zip |
Let g_thread_list_lock only protect g_thread_list.
As glibc/netbsd don't protect access to thread struct members by a global
lock, we don't want to do it either. This change reduces the
responsibility of g_thread_list_lock to only protect g_thread_list.
Bug: 19636317
Change-Id: I897890710653dac165d8fa4452c7ecf74abdbf2b
Diffstat (limited to 'libc/Android.mk')
-rw-r--r-- | libc/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Android.mk b/libc/Android.mk index 7bbdd9901..6f430ccfc 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -521,7 +521,7 @@ libc_pthread_src_files := \ bionic/pthread_getcpuclockid.cpp \ bionic/pthread_getschedparam.cpp \ bionic/pthread_gettid_np.cpp \ - bionic/pthread_internals.cpp \ + bionic/pthread_internal.cpp \ bionic/pthread_join.cpp \ bionic/pthread_key.cpp \ bionic/pthread_kill.cpp \ |