about summary refs log tree commit diff stats
path: root/src/libtools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-29 17:26:02 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-03-29 17:26:02 +0200
commit6013325637bf27fdd8d8ade9252d290fd47b7a9a (patch)
tree1d248dce89aad03eed711977c084259ae44dbfbb /src/libtools
parentba198371043f99bc96c7a5c318bbff5efa647d22 (diff)
downloadbox64-6013325637bf27fdd8d8ade9252d290fd47b7a9a.tar.gz
box64-6013325637bf27fdd8d8ade9252d290fd47b7a9a.zip
Don't need to set FS here
Diffstat (limited to 'src/libtools')
-rwxr-xr-xsrc/libtools/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c
index ac44909e..6d6c7e6d 100755
--- a/src/libtools/threads.c
+++ b/src/libtools/threads.c
@@ -299,7 +299,7 @@ EXPORT int my_pthread_create(x64emu_t *emu, void* t, void* attr, void* start_rou
 	emuthread_t *et = (emuthread_t*)calloc(1, sizeof(emuthread_t));
     x64emu_t *emuthread = NewX64Emu(my_context, (uintptr_t)start_routine, (uintptr_t)stack, stacksize, own);
 	SetupX64Emu(emuthread);
-	SetFS(emuthread, GetFS(emu));
+	//SetFS(emuthread, GetFS(emu));
 	et->emu = emuthread;
 	et->fnc = (uintptr_t)start_routine;
 	et->arg = arg;