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

Function threadCreate

physx/snippets/snippetutils/SnippetUtils.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 };
152
153 Thread* threadCreate(ThreadEntryPoint entryPoint, void* data)
154 {
155 Thread* createThread = static_cast<Thread*>(gUtilAllocator.allocate(sizeof(Thread), 0, 0, 0));
156 PX_PLACEMENT_NEW(createThread, Thread(entryPoint, data));
157 createThread->start();
158 return createThread;
159 }
160
161 void threadQuit(Thread* thread)
162 {

Callers 1

createRaycastThreadsFunction · 0.85

Calls 3

ThreadClass · 0.70
allocateMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected