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

Method join

engine/source/platformEmscripten/EmscriptenThread.cpp:107–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool Thread::join()
108{
109 if(!isAlive())
110 return true;
111
112 // not using pthread_join here because pthread_join cannot deal
113 // with multiple simultaneous calls.
114 mData->mGateway.acquire();
115 mData->mGateway.release();
116 return true;
117}
118
119void Thread::run(void* arg)
120{

Callers

nothing calls this directly

Calls 2

acquireMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected