Basic concept

This commit is contained in:
Nekotekina 2015-03-17 00:38:21 +03:00
parent 6a0ce1850a
commit a71cb5f521
13 changed files with 3413 additions and 24 deletions

View file

@ -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())
{