mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
HOTFIX for atomic wait
This commit is contained in:
parent
f45cbdd0f7
commit
dfb163546b
1 changed files with 1 additions and 1 deletions
|
@ -1694,7 +1694,7 @@ public:
|
||||||
atomic_wait::info ext[2]{};
|
atomic_wait::info ext[2]{};
|
||||||
ext[0].data = reinterpret_cast<const char*>(&m_data) + 4;
|
ext[0].data = reinterpret_cast<const char*>(&m_data) + 4;
|
||||||
ext[0].old = std::bit_cast<u64>(old_value) >> 32;
|
ext[0].old = std::bit_cast<u64>(old_value) >> 32;
|
||||||
atomic_wait_engine::wait(&m_data, ::narrow<u32>(std::bit_cast<u64>(old_value)), static_cast<u64>(timeout), ext);
|
atomic_wait_engine::wait(&m_data, static_cast<u32>(std::bit_cast<u64>(old_value)), static_cast<u64>(timeout), ext);
|
||||||
}
|
}
|
||||||
|
|
||||||
void notify_one()
|
void notify_one()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue