mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Update thread ids for 64bit support.
This commit is contained in:
parent
0287f7717b
commit
633bc040d0
5 changed files with 26 additions and 26 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue