Merge "[vdi] Fix hang due to recursive locking." into amd-master-next

[ROCm/clr commit: 2e61683b33]
This commit is contained in:
Michael Hong Bin Liao authored and Gerrit Code Review committed 2020-04-24 10:30:26 -04:00
commit 07bde00301
1 file changed
+1 -1
+1 -1
View File
@@ -179,7 +179,7 @@ struct ihipExec_t {
};
class PlatformState {
amd::Monitor lock_{"Guards global function map"};
amd::Monitor lock_{"Guards global function map", true};
std::unordered_map<const void*, std::vector<std::pair<hipModule_t, bool>>> modules_;
bool initialized_{false};