mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Make lf_queue<> compatible with atomic_wait
This commit is contained in:
parent
ca5f0444bf
commit
e39348ad96
4 changed files with 39 additions and 4 deletions
|
@ -182,7 +182,7 @@ struct cpu_prof
|
|||
if (threads.empty())
|
||||
{
|
||||
// Wait for messages if no work (don't waste CPU)
|
||||
registered.wait();
|
||||
atomic_wait::list(registered).wait();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue