mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
waiter_map_t for syncRwm and syncQueue
This commit is contained in:
parent
f839713a94
commit
5de059789d
2 changed files with 93 additions and 104 deletions
|
@ -102,7 +102,7 @@ public:
|
|||
waiter_map_t(const char* name) : m_name(name) {}
|
||||
|
||||
// wait until waiter_func() returns true, signal_id is an arbitrary number
|
||||
template<typename WT> __forceinline void waiter_op(u64 signal_id, const WT waiter_func)
|
||||
template<typename WT> __forceinline void wait_op(u64 signal_id, const WT waiter_func)
|
||||
{
|
||||
// check condition
|
||||
if (waiter_func()) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue