Android NDK doesn't support TLS (__thread)?

1,109 views
Skip to first unread message

Paul

unread,
May 14, 2010, 4:43:49 PM5/14/10
to android-ndk
I see that when using __thread for thread-local-storage, I get link
errors regarding missing __emutls_get_address. Am I doing something
wrong or does the NDK not support __thread?

Thanks.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

David Turner

unread,
May 14, 2010, 4:46:48 PM5/14/10
to andro...@googlegroups.com
Yes, __thread is not supported by the dynamic linker and C library.
Reply all
Reply to author
Forward
0 new messages