diff options
Diffstat (limited to 'src/strategies/low_latency2/device_strategy.cc')
| -rw-r--r-- | src/strategies/low_latency2/device_strategy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strategies/low_latency2/device_strategy.cc b/src/strategies/low_latency2/device_strategy.cc index 227c385..fa44468 100644 --- a/src/strategies/low_latency2/device_strategy.cc +++ b/src/strategies/low_latency2/device_strategy.cc @@ -70,7 +70,7 @@ void LowLatency2DeviceStrategy::submit_swapchain_present_id( // monitor. auto work = [&]() -> std::vector<std::unique_ptr<FrameSpan>> { auto work = std::vector<std::unique_ptr<FrameSpan>>{}; - const auto lock = std::scoped_lock{this->device.mutex}; + const auto lock = std::shared_lock{this->device.mutex}; for (const auto& queue_iter : this->device.queues) { const auto& queue = queue_iter.second; |
