MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / waitForQuit

Method waitForQuit

physx/source/foundation/src/unix/PsUnixThread.cpp:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248bool ThreadImpl::waitForQuit()
249{
250 if(getThread(this)->state == _PxThreadNotStarted)
251 return false;
252
253 // works also with a stopped/exited thread if the handle is still valid
254 pthread_join(getThread(this)->thread, NULL);
255 return true;
256}
257
258bool ThreadImpl::quitIsSignalled()
259{

Callers 4

threadWaitForQuitFunction · 0.45
~BackgroundLoaderMethod · 0.45
mainContinueFunction · 0.45
~DefaultCpuDispatcherMethod · 0.45

Calls 1

getThreadFunction · 0.70

Tested by

no test coverage detected