mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
thread var initialization fixes
This commit is contained in:
parent
0d4221fa59
commit
835d6f009a
3 changed files with 8 additions and 8 deletions
|
|
@ -30,13 +30,13 @@
|
|||
class PlatformThreadData
|
||||
{
|
||||
public:
|
||||
ThreadRunFunction mRunFunc;
|
||||
void* mRunArg;
|
||||
Thread* mThread;
|
||||
ThreadRunFunction mRunFunc = NULL;
|
||||
void* mRunArg = NULL;
|
||||
Thread* mThread = NULL;
|
||||
Semaphore mGateway; // default count is 1
|
||||
SDL_threadID mThreadID;
|
||||
SDL_Thread* mSdlThread;
|
||||
bool mDead;
|
||||
SDL_threadID mThreadID = 0;
|
||||
SDL_Thread* mSdlThread = NULL;
|
||||
bool mDead = true;
|
||||
};
|
||||
|
||||
ThreadManager::MainThreadId ThreadManager::smMainThreadId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue