2
0

SWDEV-352197 - Destroy virtual device in thread destructor

Windows kills threads on exit without any notification. However,
runtime can still destroy VirtualGPU object from the host thread with
HostQueue destruction.
This change also forces RGP trace transfer on the last capture without
any delays.

Change-Id: I768e87e99e1d23a021e63c12f36e450817743759


[ROCm/clr commit: ad33a021cb]
Este cometimento está contido em:
German
2023-01-30 13:11:14 -05:00
cometido por German Andryeyev
ascendente 9eeb99a842
cometimento f857dcc48d
4 ficheiros modificados com 28 adições e 10 eliminações
-1
Ver ficheiro
@@ -67,7 +67,6 @@ bool HostQueue::terminate() {
marker->release();
}
thread_.acceptingCommands_ = false;
thread_.Release();
} else {
if (Os::isThreadAlive(thread_)) {
Command* marker = nullptr;