mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
rsx: Implement conditional locks
This commit is contained in:
parent
40d305b35d
commit
7ab1792ef7
4 changed files with 48 additions and 35 deletions
|
|
@ -14,7 +14,7 @@ namespace gl
|
|||
cached_texture_section* section_to_post = nullptr;
|
||||
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(m_section_mutex);
|
||||
rsx::conditional_lock<shared_mutex> lock(in_access_violation_handler, m_section_mutex);
|
||||
|
||||
for (cached_texture_section &tex : no_access_memory_sections)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue