diff options
author | Elliott Hughes <enh@google.com> | 2013-11-26 13:57:21 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-11-26 13:57:21 -0800 |
commit | 80906141f79be8be63fc915bfab467029b442ca1 (patch) | |
tree | 791a682ab1dcb29efd3eeeac1f8eb3af0144466c /tests/string_test.cpp | |
parent | 1c057607d89229f5effaf1acf2ecde24ece41389 (diff) |
Work around CLONE_SETTLS being weird on x86.
Unlike other architectures, on x86 (but not x86-64), CLONE_SETTLS
takes a pointer to a struct user_desc instead of a pointer to the
TLS itself. Rather than have to deal with this here, let's just use
the old __set_tls mechanism we used to use (and still use for the
main thread on all architectures, so it's not going away any time
soon).
Bug: 11826724
Change-Id: I02a27939a73ae6cea1134a3f4c1dd7eafea479da
Diffstat (limited to 'tests/string_test.cpp')
0 files changed, 0 insertions, 0 deletions