Update thread ids for 64bit support.

This commit is contained in:
Jeff Hutchinson 2021-08-29 20:34:57 -04:00
parent 0287f7717b
commit 633bc040d0
5 changed files with 26 additions and 26 deletions

View file

@ -43,7 +43,7 @@ public:
Thread* mThread;
HANDLE mThreadHnd;
Semaphore mGateway;
U32 mThreadID;
dsize_t mThreadID;
U32 mDead;
PlatformThreadData()
@ -157,7 +157,7 @@ bool Thread::isAlive()
return ( !mData->mDead );
}
U32 Thread::getId()
dsize_t Thread::getId()
{
return mData->mThreadID;
}
@ -197,12 +197,12 @@ void Thread::_setName( const char* name )
#endif
}
U32 ThreadManager::getCurrentThreadId()
dsize_t ThreadManager::getCurrentThreadId()
{
return GetCurrentThreadId();
}
bool ThreadManager::compare(U32 threadId_1, U32 threadId_2)
bool ThreadManager::compare(dsize_t threadId_1, dsize_t threadId_2)
{
return (threadId_1 == threadId_2);
}