From 764dcba75aaaa27c56acaf5d41700362055aed0a Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Sun, 27 Dec 2015 19:40:10 -0600 Subject: [PATCH] Update TLS comments --- src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc index 2ee7372d8..fdecef51e 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc @@ -376,11 +376,6 @@ SHIM_CALL KeQuerySystemTime_shim(PPCContext* ppc_context, } } -// The TLS system used here is a bit hacky, but seems to work. -// Both Win32 and pthreads use unsigned longs as TLS indices, so we can map -// right into the system for these calls. We're just round tripping the IDs and -// hoping for the best. - // http://msdn.microsoft.com/en-us/library/ms686801 dword_result_t KeTlsAlloc() { uint32_t slot = kernel_state()->AllocateTLS();