summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt/verification_pass.cpp
diff options
context:
space:
mode:
authorGravatar Wunkolo2022-02-23 16:10:37 -0800
committerGravatar Wunkolo2022-02-27 16:23:52 -0800
commit913c2bd2cbaaaf9a114d0c51f3543683dc2c0d8b (patch)
tree8c6c2a74dfd32b458a1d6acab70c4b1e98ca99de /src/shader_recompiler/ir_opt/verification_pass.cpp
parentMerge pull request #7955 from bunnei/update-dynarmic (diff)
downloadyuzu-913c2bd2cbaaaf9a114d0c51f3543683dc2c0d8b.tar.gz
yuzu-913c2bd2cbaaaf9a114d0c51f3543683dc2c0d8b.tar.xz
yuzu-913c2bd2cbaaaf9a114d0c51f3543683dc2c0d8b.zip
logging: Convert `backend_thread` into an `std::jthread`
Was getting an unhandled `invalid_argument` [exception](https://en.cppreference.com/w/cpp/thread/thread/join) during shutdown on my linux machine. This removes the need for a `StopBackendThread` function entirely since `jthread` [automatically handles both checking if the thread is joinable and stopping the token before attempting to join](https://en.cppreference.com/w/cpp/thread/jthread/~jthread) in the case that `StartBackendThread` was never called.
Diffstat (limited to 'src/shader_recompiler/ir_opt/verification_pass.cpp')
0 files changed, 0 insertions, 0 deletions