SPU: Use waitable atomics for SPU channels interface

This commit is contained in:
Eladash 2020-06-26 12:17:15 +03:00 committed by Ivan
parent 3157a10428
commit a029a94c73
6 changed files with 123 additions and 64 deletions

View file

@ -1892,6 +1892,7 @@ void thread_base::initialize(void (*error_cb)(), bool(*wait_cb)(const void*))
void thread_base::notify_abort() noexcept
{
m_signal.try_inc();
atomic_storage_futex::raw_notify(+m_state_notifier);
}