mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Simplify thread_base::join()
Use waitable atomics
This commit is contained in:
parent
4504ac2d12
commit
c1b0934f72
2 changed files with 4 additions and 14 deletions
|
@ -124,9 +124,6 @@ class thread_base
|
|||
// Thread flags
|
||||
atomic_t<u32> m_signal{0};
|
||||
|
||||
// Thread joining condition variable
|
||||
mutable cond_variable m_jcv;
|
||||
|
||||
// Thread state
|
||||
atomic_t<thread_state> m_state = thread_state::created;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue