mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Thread: internal cleanup
Use different, simpler algorithm in wait_for. Although the very idea of such notifications was rotten.
This commit is contained in:
parent
d594490329
commit
8d847d6f1c
2 changed files with 9 additions and 51 deletions
|
@ -100,13 +100,7 @@ class thread_base
|
|||
// Thread handle (platform-specific)
|
||||
atomic_t<std::uintptr_t> m_thread{0};
|
||||
|
||||
// Thread mutex
|
||||
mutable shared_mutex m_mutex;
|
||||
|
||||
// Thread condition variable
|
||||
cond_variable m_cond;
|
||||
|
||||
// Thread flags
|
||||
// Thread playtoy, that shouldn't be used
|
||||
atomic_t<u32> m_signal{0};
|
||||
|
||||
// Thread state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue