SWDEV-520352 - Remove HostThread and legacy monitor (#230)

* SWDEV-520352 - Remove HostThread and legacy monitor

Remove HostThread, semaphore and  legacy monitor.
Make original logics of thread and command queue stricker.
Add more comments to make logics clearer.
Some other minor improvement.

Also part of SWDEV-458943.
Este cometimento está contido em:
Sang, Tao criou e GitHub cometeu 2025-04-29 09:55:24 -04:00
1 ascendente 99ef573399
cometimento 96cadbc9e9
15 ficheiros modificados
+34 -898

Não existem ficheiros que correspondam à sua pesquisa

+2 -4
Ver ficheiro
@@ -48,10 +48,8 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) {
case DLL_PROCESS_DETACH:
amd::Runtime::setLibraryDetached();
break;
case DLL_THREAD_DETACH: {
amd::Thread* thread = amd::Thread::current();
delete thread;
} break;
case DLL_THREAD_DETACH:
break;
default:
break;
}