commit | df0891adcfe97dd8e4c825ea6ea586cc5bd09ef6 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Tue Aug 18 22:43:47 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 18 22:43:47 2015 +0000 |
tree | 0192a4226a6c94ac5b699e37f52f8f8b1dd538fe | |
parent | e4d51cf37a861e258e423de14619982af51d2527 [diff] | |
parent | aa23b2ee5e2e0d51f0abf62c388dafc8ebd44d61 [diff] |
Merge "Add a TLS slot for TSAN."
diff --git a/libc/private/bionic_tls.h b/libc/private/bionic_tls.h index 58670bb..2ca7728 100644 --- a/libc/private/bionic_tls.h +++ b/libc/private/bionic_tls.h
@@ -70,6 +70,10 @@ // Fast storage for Thread::Current() in ART. TLS_SLOT_ART_THREAD_SELF, + // Lets TSAN avoid using pthread_getspecific for finding the current thread + // state. + TLS_SLOT_TSAN, + BIONIC_TLS_SLOTS // Must come last! };