mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-03 13:14:34 +01:00
gpu_thread: Move to bounded queue
This commit is contained in:
1 parent
c4d0f9d4df
commit
9d5dc3c9b9
3 files changed
+185
-4
No files matched your search
@@ -31,7 +31,8 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
|
||||
VideoCore::RasterizerInterface* const rasterizer = renderer.ReadRasterizer();
|
||||
|
||||
while (!stop_token.stop_requested()) {
|
||||
CommandDataContainer next = state.queue.PopWait(stop_token);
|
||||
CommandDataContainer next;
|
||||
state.queue.Pop(next, stop_token);
|
||||
if (stop_token.stop_requested()) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user