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.
This commit is contained in:
Sang, Tao authored and GitHub committed 2025-04-29 09:55:24 -04:00
1 parent 99ef573399
commit 96cadbc9e9
15 files changed
+34 -898

No files matched your search

+2 -4
View File
@@ -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;
}