Remove more unused things from CryCommon and CrySystem. (#709)
Lots of unrelated removals, I basically tried to remove everything exposed via gEnv that isn't used anymore, and following the threads found a few other things to remove also.
This commit is contained in:
@@ -249,10 +249,6 @@ public:
|
||||
void SetName(const char* Name)
|
||||
{
|
||||
m_name = Name;
|
||||
if (m_threadId)
|
||||
{
|
||||
CryThreadSetName(m_threadId, m_name);
|
||||
}
|
||||
}
|
||||
const char* GetName() { return m_name; }
|
||||
|
||||
@@ -289,11 +285,6 @@ private:
|
||||
self->m_bIsStarted = true;
|
||||
self->m_bIsRunning = true;
|
||||
|
||||
if (!self->m_name.empty())
|
||||
{
|
||||
CryThreadSetName(-1, self->m_name);
|
||||
}
|
||||
|
||||
self->m_Runnable->Run();
|
||||
self->m_bIsRunning = false;
|
||||
self->m_bCreatedThread = false;
|
||||
@@ -311,11 +302,6 @@ private:
|
||||
self->m_bIsStarted = true;
|
||||
self->m_bIsRunning = true;
|
||||
|
||||
if (!self->m_name.empty())
|
||||
{
|
||||
CryThreadSetName(-1, self->m_name);
|
||||
}
|
||||
|
||||
self->Run();
|
||||
self->m_bIsRunning = false;
|
||||
self->m_bCreatedThread = false;
|
||||
|
||||
Reference in New Issue
Block a user