mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
Kernel: Disable __thread and TLS on x86_64 for now
They're not yet properly supported.
This commit is contained in:
parent
c0bd2c0691
commit
fe2716df21
5 changed files with 28 additions and 6 deletions
|
@ -11,8 +11,16 @@
|
|||
#include <string.h>
|
||||
|
||||
// FIXME: use thread_local and a String once TLS works
|
||||
__thread char* s_dlerror_text = NULL;
|
||||
__thread bool s_dlerror_retrieved = false;
|
||||
#ifndef X86_64_NO_TLS
|
||||
__thread
|
||||
#endif
|
||||
char* s_dlerror_text
|
||||
= NULL;
|
||||
#ifndef X86_64_NO_TLS
|
||||
__thread
|
||||
#endif
|
||||
bool s_dlerror_retrieved
|
||||
= false;
|
||||
|
||||
static void store_error(const String& error)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue