DescriptionSwitch thread_local to use chromium's TLS implementation
This patch switch thread_local to use ThreadLocalStorage::Slot, so it get the
TLS slot from the chromium's TLS instead of OS's.
There is debate whether the Windows' TLS's destructor implementation is reliable
or not, if we are able to remove all the use of TLS destructor, only ThreadLocalStorage::Slot
needs to change, as thread_local doesn't use TLS destructor at all.
BUG=264406
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254986
Patch Set 1 #Patch Set 2 : Increase TLS slot #Patch Set 3 : Increase TLS slot to 256 #Patch Set 4 : sync #
Messages
Total messages: 20 (0 generated)
|