mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Linux: use futex_waitv syscall for atomic waiting
In order to make this possible, some unnecessary features were removed.
This commit is contained in:
parent
831a9fe012
commit
d34287b2cc
51 changed files with 441 additions and 574 deletions
|
|
@ -303,7 +303,7 @@ struct vdec_context final
|
|||
return;
|
||||
}
|
||||
|
||||
thread_ctrl::wait_on(in_cmd, nullptr);
|
||||
thread_ctrl::wait_on(in_cmd);
|
||||
slice = in_cmd.pop_all(); // Pop new command list
|
||||
}())
|
||||
{
|
||||
|
|
@ -921,7 +921,7 @@ static error_code vdecOpen(ppu_thread& ppu, T type, U res, vm::cptr<CellVdecCb>
|
|||
});
|
||||
|
||||
thrd->state -= cpu_flag::stop;
|
||||
thrd->state.notify_one(cpu_flag::stop);
|
||||
thrd->state.notify_one();
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue