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

Method ThreadImpl

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

Source from the content-addressed store, hash-verified

153}
154
155ThreadImpl::ThreadImpl()
156{
157 getThread(this)->thread = 0;
158 getThread(this)->tid = 0;
159 getThread(this)->state = _PxThreadNotStarted;
160 getThread(this)->quitNow = 0;
161 getThread(this)->threadStarted = 0;
162 getThread(this)->fn = NULL;
163 getThread(this)->arg = NULL;
164 getThread(this)->affinityMask = 0;
165 getThread(this)->name = "set my name before starting me";
166}
167
168ThreadImpl::ThreadImpl(ThreadImpl::ExecuteFn fn, void* arg, const char* name)
169{

Callers

nothing calls this directly

Calls 1

getThreadFunction · 0.70

Tested by

no test coverage detected