mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
This commit is contained in:
parent
de070bf485
commit
a90b5cf37a
1998 changed files with 1034301 additions and 0 deletions
26
rpcs3/Emu/Cell/PPCThreadManager.h
Normal file
26
rpcs3/Emu/Cell/PPCThreadManager.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
#include "PPCThread.h"
|
||||
|
||||
class PPCThreadManager : public ThreadBase
|
||||
{
|
||||
//IdManager m_threads_id;
|
||||
//ArrayF<PPUThread> m_ppu_threads;
|
||||
//ArrayF<SPUThread> m_spu_threads;
|
||||
ArrayF<PPCThread> m_threads;
|
||||
|
||||
public:
|
||||
PPCThreadManager();
|
||||
~PPCThreadManager();
|
||||
|
||||
void Close();
|
||||
|
||||
PPCThread& AddThread(bool isPPU);
|
||||
void RemoveThread(const u32 id);
|
||||
|
||||
ArrayF<PPCThread>& GetThreads() { return m_threads; }
|
||||
s32 GetThreadNumById(bool isPPU, u32 id);
|
||||
//IdManager& GetIDs() {return m_threads_id;}
|
||||
|
||||
void Exec();
|
||||
virtual void Task();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue