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

@ -210,6 +210,12 @@ public:
static_cast<thread_base&>(thread).notify();
}
template <typename T>
static void raw_notify(named_thread<T>& thread)
{
static_cast<thread_base&>(thread).notify_abort();
}
// Read current state
static inline thread_state state()
{