MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / steal

Method steal

modules/core/task/src/task2.cpp:357–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 bool steal(Task& out)
358 {
359 bool result = work.tasks.steal(out);
360 if (result)
361 {
362 work.num--;
363 }
364 return result;
365 }
366
367 Worker()
368

Callers 1

stealWorkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected