mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Basic concept
This commit is contained in:
parent
6a0ce1850a
commit
a71cb5f521
13 changed files with 3413 additions and 24 deletions
|
@ -17,6 +17,7 @@ CPUThread* GetCurrentCPUThread()
|
|||
|
||||
CPUThread::CPUThread(CPUThreadType type)
|
||||
: ThreadBase("CPUThread")
|
||||
, m_events(0)
|
||||
, m_type(type)
|
||||
, m_stack_size(0)
|
||||
, m_stack_addr(0)
|
||||
|
@ -242,6 +243,7 @@ void CPUThread::Stop()
|
|||
SendDbgCommand(DID_STOP_THREAD, this);
|
||||
|
||||
m_status = Stopped;
|
||||
m_events |= CPU_EVENT_STOP;
|
||||
|
||||
if(static_cast<NamedThreadBase*>(this) != GetCurrentNamedThread())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue