MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / Thread

Class Thread

deps/physx/physx/snippets/snippetutils/SnippetUtils.cpp:135–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 //******************************************************************************//
134
135 struct Thread: public Ps::ThreadT<UtilAllocator>
136 {
137 Thread(ThreadEntryPoint entryPoint, void* data):
138 Ps::ThreadT<UtilAllocator>(),
139 mEntryPoint(entryPoint),
140 mData(data)
141 {
142 }
143
144 virtual void execute(void)
145 {
146 mEntryPoint(mData);
147 }
148
149 ThreadEntryPoint mEntryPoint;
150 void* mData;
151 };
152
153 Thread* threadCreate(ThreadEntryPoint entryPoint, void* data)
154 {

Callers 1

threadCreateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected