mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
id_traits, idm::get_last_id() added
id_traits for file/dir descriptors idm::get_current_id() removed, thread-local last ID
This commit is contained in:
parent
d9403c2ed2
commit
c2897cddd6
15 changed files with 166 additions and 165 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
CPUThread::CPUThread(CPUThreadType type, const std::string& name, std::function<std::string()> thread_name)
|
||||
: m_state({ CPU_STATE_STOPPED })
|
||||
, m_id(idm::get_current_id())
|
||||
, m_id(idm::get_last_id())
|
||||
, m_type(type)
|
||||
, m_name(name)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue