try to reign in the vector<ptr> madness

This commit is contained in:
Peter Tissen 2014-04-14 10:55:43 +02:00
parent 552b71a378
commit 8ef9414406
10 changed files with 57 additions and 50 deletions

View file

@ -46,6 +46,7 @@ CPUThread& CPUThreadManager::AddThread(CPUThreadType type)
return *new_thread;
}
//TODO: find out where the thread is actually deleted because it's sure as shit not here
void CPUThreadManager::RemoveThread(const u32 id)
{
std::lock_guard<std::mutex> lock(m_mtx_thread);