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:
@@ -31,22 +31,3 @@
|
||||
#else
|
||||
// Put other platform specific includes here!
|
||||
#endif
|
||||
|
||||
#include <IThreadTask.h>
|
||||
|
||||
void CryThreadSetName(threadID dwThreadId, const char* sThreadName)
|
||||
{
|
||||
if (gEnv && gEnv->pSystem && gEnv->pSystem->GetIThreadTaskManager())
|
||||
{
|
||||
gEnv->pSystem->GetIThreadTaskManager()->SetThreadName(dwThreadId, sThreadName);
|
||||
}
|
||||
}
|
||||
|
||||
const char* CryThreadGetName(threadID dwThreadId)
|
||||
{
|
||||
if (gEnv && gEnv->pSystem && gEnv->pSystem->GetIThreadTaskManager())
|
||||
{
|
||||
return gEnv->pSystem->GetIThreadTaskManager()->GetThreadName(dwThreadId);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user