MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / isAlive

Method isAlive

Engine/source/platform/threads/threadPool.cpp:175–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173};
174
175inline bool ThreadPool::WorkItemWrapper::isAlive()
176{
177 WorkItem* item = ptr();
178 if( !item )
179 return false;
180 else if( item->isCancellationRequested() )
181 {
182 ( *this ) = 0;
183 return false;
184 }
185 else
186 return true;
187}
188
189inline F32 ThreadPool::WorkItemWrapper::getPriority()
190{

Callers 3

takeNextMethod · 0.45
updatePrioritiesMethod · 0.45
TESTFunction · 0.45

Calls 2

ptrFunction · 0.85

Tested by 1

TESTFunction · 0.36