mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 09:48:07 +02:00
remove the mReconstructionMutex in load
During loading of snapshot, there will be a single-threaded decoder that aquires the same mReconstructionMutex, repeatedly. Since the mReconstructionMutex is intentionally changed to be non-recursive, we should not aquire it at the beginning of load call; otherwise, we will be deadlock the decoder thread. Reviewed-by: Marcin Radomski <dextero@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33018>
This commit is contained in:
parent
2f3c3459a8
commit
26ce3b0ba1
1 changed files with 0 additions and 1 deletions
|
|
@ -68,7 +68,6 @@ public:
|
|||
}
|
||||
|
||||
void load(android::base::Stream* stream, GfxApiLogger& gfx_logger, HealthMonitor<>* healthMonitor) {
|
||||
std::lock_guard<std::mutex> lock(mReconstructionMutex);
|
||||
mReconstruction.load(stream, gfx_logger, healthMonitor);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue