Skip to content

Conversation

@RalfKornmannEnvision
Copy link
Owner

No description provided.

Android on ARM64 doesn't follow the recommended way how to implement Thread Local Storage (TLS). Instead they are using a custom solution when a __thread variable is used. This solution requires that internally always a C function needs to be called when a TLS variable is access. While the compiler and linker take care of all the c/c++ code the helper code written in assembler needs to be modified. 

This implements the changes for the current thread and thunks data TLS variable. It would work on systems that follow the recommended implementation, too. But as it has a larger overhead compared to the current inlined solution it needs to be activated for systems with this issue by using FEATURE_EMULATED_TLS
- Fix for the name of the libary that is used to remove the dependency to the native code
@RalfKornmannEnvision RalfKornmannEnvision merged commit 03d9ebb into master Sep 14, 2020
@RalfKornmannEnvision RalfKornmannEnvision deleted the removefeature-Globalization branch September 14, 2020 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants