mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
SPU: Use waitable atomics for SPU channels interface
This commit is contained in:
parent
3157a10428
commit
a029a94c73
6 changed files with 123 additions and 64 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue