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

Function schedule

modules/core/task/include/SkrTask/co_task.hpp:275–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 };
274
275 inline void schedule(skr_task_t&& task)
276 {
277 scheduler_t::instance()->schedule(std::move(task));
278 }
279 inline void schedule(skr::stl_function<void()>&& function)
280 {
281 scheduler_t::instance()->schedule(std::move(function));

Callers 13

parallel_forFunction · 0.70
compile_projectFunction · 0.50
AddCookTaskMethod · 0.50
_UpdateAsyncSerdeMethod · 0.50
schedule_ecs_jobMethod · 0.50
schedule_jobMethod · 0.50
scheduler_test.cppFile · 0.50
TestCondVarsMethod · 0.50
TestUnboundedPoolMethod · 0.50
TestTicketMethod · 0.50
TestEventsMethod · 0.50
TestCallsMethod · 0.50

Calls 2

scheduleMethod · 0.80
moveFunction · 0.50

Tested by 5

TestCondVarsMethod · 0.40
TestUnboundedPoolMethod · 0.40
TestTicketMethod · 0.40
TestEventsMethod · 0.40
TestCallsMethod · 0.40