mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
[orbis-kernel] Hopefully fix shared_cv
This commit is contained in:
parent
99f520491c
commit
3d78443496
4 changed files with 62 additions and 29 deletions
|
|
@ -10,7 +10,9 @@ inline namespace utils {
|
|||
class shared_cv {
|
||||
enum : unsigned {
|
||||
c_waiter_mask = 0xffff,
|
||||
c_signal_mask = 0xffffffff & ~c_waiter_mask,
|
||||
c_signal_mask = 0x7fff0000,
|
||||
c_locked_mask = 0x80000000,
|
||||
c_signal_one = c_waiter_mask + 1,
|
||||
};
|
||||
|
||||
std::atomic<unsigned> m_value{0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue