mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Implement sceNpSignaling & signaling improvements (#8836)
This commit is contained in:
parent
2f3e0044f1
commit
10820fa135
19 changed files with 1343 additions and 315 deletions
|
@ -40,6 +40,8 @@ enum class thread_state : u32
|
|||
finished // Final state, always set at the end of thread execution
|
||||
};
|
||||
|
||||
class need_wakeup {};
|
||||
|
||||
template <class Context>
|
||||
class named_thread;
|
||||
|
||||
|
@ -414,6 +416,11 @@ public:
|
|||
{
|
||||
thread::notify_abort();
|
||||
}
|
||||
|
||||
if constexpr (std::is_base_of_v<need_wakeup, Context>)
|
||||
{
|
||||
this->wake_up();
|
||||
}
|
||||
}
|
||||
|
||||
return *this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue