From 6013325637bf27fdd8d8ade9252d290fd47b7a9a Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 29 Mar 2021 17:26:02 +0200 Subject: Don't need to set FS here --- src/libtools/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtools/threads.c') 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; -- cgit 1.4.1