summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-05-10 20:56:52 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2015-05-10 21:00:54 -0500
commitaf305aa1686ed972c953d5a19e3e8b600c74f2b5 (patch)
treeb990548c2a9ac3ba4c7366f02cbd2bb01545a2ac /Source/Core/VideoCommon/AsyncRequests.cpp
parent805eaa91d0b30f69eab80d34a64ed8798e180c9e (diff)
Fix a race condition when pausing the CPU core.
This affects enabling and disabling block profiling on the fly. The block profiling pauses the CPU cores and then flushes the JIT's block cache and enables block profile. The issue with this is that when we pause the CPU core, we don't have a way to tell if the JIT recompiler has actually left. So if the secondary thread that is clearing the JIT block cache is too quick, it will clear the cache as a recompiler is still running that block that has been cleared.
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
0 files changed, 0 insertions, 0 deletions