diff options
| author | bunnei <bunneidev@gmail.com> | 2021-09-18 20:37:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-18 20:37:40 -0700 |
| commit | 08e300eb381530a1c542befe5d6b781d173f720e (patch) | |
| tree | b86f29a288fa5bc5a337ba61a6833fa1c89c2270 /src/video_core/gpu.cpp | |
| parent | 29831bf795c9620b97fd41a393f4f2f09d68b373 (diff) | |
| parent | f1b780086676d6154be214c1b079dcc311a6e5ed (diff) | |
Merge pull request #7019 from ameerj/videocore-jthread
videocore: Use std::jthread for worker threads
Diffstat (limited to 'src/video_core/gpu.cpp')
| -rw-r--r-- | src/video_core/gpu.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index ff024f5308..2ae3639b5d 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -531,14 +531,6 @@ void GPU::TriggerCpuInterrupt(const u32 syncpoint_id, const u32 value) const { interrupt_manager.GPUInterruptSyncpt(syncpoint_id, value); } -void GPU::ShutDown() { - // Signal that threads should no longer block on syncpoint fences - shutting_down.store(true, std::memory_order_relaxed); - sync_cv.notify_all(); - - gpu_thread.ShutDown(); -} - void GPU::OnCommandListEnd() { if (is_async) { // This command only applies to asynchronous GPU mode |
