rpcs3/rpcs3/Emu/IdManager.cpp
Nekotekina 8ae3401ffa Some things improved
shared_mutex_t implemented
GUI Emu Callbacks rewritten
fxm::import, fxm::import_always implemented
cellMsgDialog rewritten
Emu.CallAfter improved (returns std::future)
2015-09-22 16:48:21 +03:00

14 lines
291 B
C++

#include "stdafx.h"
#include "IdManager.h"
std::mutex idm::g_mutex;
std::unordered_map<u32, id_data_t> idm::g_map;
u32 idm::g_last_raw_id = 0;
thread_local u32 idm::g_tls_last_id = 0xdeadbeef;
std::mutex fxm::g_mutex;
std::unordered_map<const void*, std::shared_ptr<void>> fxm::g_map;