diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-06-29 17:56:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-30 15:13:30 +0200 |
commit | fe2716df216ec4a31818f6f1c0a47d64454a23f0 (patch) | |
tree | e8135fe4170c4dd6ab785b0a6e58042167a922df /Userland/Libraries/LibC | |
parent | c0bd2c06919b43f37acec2baea8187cfe6473b97 (diff) | |
download | serenity-fe2716df216ec4a31818f6f1c0a47d64454a23f0.zip |
Kernel: Disable __thread and TLS on x86_64 for now
They're not yet properly supported.
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/pthread_tls.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/pthread_tls.cpp b/Userland/Libraries/LibC/pthread_tls.cpp index 6c32260dcd..393964a7ed 100644 --- a/Userland/Libraries/LibC/pthread_tls.cpp +++ b/Userland/Libraries/LibC/pthread_tls.cpp @@ -26,7 +26,10 @@ struct SpecificTable { static KeyTable s_keys; -__thread SpecificTable t_specifics; +# ifndef X86_64_NO_TLS +__thread +# endif + SpecificTable t_specifics; int __pthread_key_create(pthread_key_t* key, KeyDestructor destructor) { |