Merge pull request #7078 from ameerj/vc-jthread-fixes

video_core: Fix jthread related hangs when stopping emulation
This commit is contained in:
Morph 2021-09-26 16:40:13 -04:00 committed by GitHub
commit 5114819b6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -212,7 +212,6 @@ private:
vk::CommandBuffer current_cmdbuf;
std::unique_ptr<CommandChunk> chunk;
std::jthread worker_thread;
State state;
@ -226,6 +225,7 @@ private:
std::mutex work_mutex;
std::condition_variable_any work_cv;
std::condition_variable wait_cv;
std::jthread worker_thread;
};
} // namespace Vulkan