mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-29 12:24:58 +00:00
HOTFIX for atomic wait
This commit is contained in:
parent
f45cbdd0f7
commit
dfb163546b
@ -1694,7 +1694,7 @@ public:
|
||||
atomic_wait::info ext[2]{};
|
||||
ext[0].data = reinterpret_cast<const char*>(&m_data) + 4;
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user