MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / start

Method start

engine/source/platformEmscripten/EmscriptenThread.cpp:92–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void Thread::start()
93{
94 if(isAlive())
95 return;
96
97 // cause start to block out other pthreads from using this Thread,
98 // at least until ThreadRunHandler exits.
99 mData->mGateway.acquire();
100
101 // reset the shouldStop flag, so we'll know when someone asks us to stop.
102 shouldStop = false;
103
104 //pthread_create((pthread_t*)(&mData->mThreadID), NULL, ThreadRunHandler, mData);
105}
106
107bool Thread::join()
108{

Callers

nothing calls this directly

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected