about summary refs log tree commit diff stats
path: root/src/libtools/threads.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-01 17:09:54 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-01 17:09:54 +0200
commit759cef6e015a7fe99bc94cd70da92e8f00584db9 (patch)
tree9461b79c03e5cbe0c7454109a53aebd952b2ec44 /src/libtools/threads.c
parent02364151bcba524825838140f3d1a61db59dab88 (diff)
downloadbox64-759cef6e015a7fe99bc94cd70da92e8f00584db9.tar.gz
box64-759cef6e015a7fe99bc94cd70da92e8f00584db9.zip
[BOX32] Fixes and hacks to get steamcmd shows the prompt
Diffstat (limited to 'src/libtools/threads.c')
-rw-r--r--src/libtools/threads.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c
index 0973d658..8de7f5e9 100644
--- a/src/libtools/threads.c
+++ b/src/libtools/threads.c
@@ -140,8 +140,8 @@ static void emuthread_destroy(void* p)
         free_tlsdatasize(ptr);*/
 	// free x64emu
 	#ifdef BOX32
-	if(box64_is32bits && !et->join)
-		to_hash_d(et->self);
+	/*if(box64_is32bits && !et->join)	// not removing  hash key from old pthread_t
+		to_hash_d(et->self);*/
 	#endif
 	if(et) {
 		FreeX64Emu(&et->emu);
@@ -161,8 +161,8 @@ static void emuthread_cancel(void* p)
 		DynaRun(et->emu);	// will return after a __pthread_unwind_next()
 	}
 	#ifdef BOX32
-	if(box64_is32bits)
-		to_hash_d(et->self);
+	/*if(box64_is32bits)
+		to_hash_d(et->self);*/ // not removing hash for old pthread_t
 	#endif
 	box_free(et->cancels);
 	et->cancels=NULL;