MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / yield_callback

Function yield_callback

tests/test-scheduler-basic-thorough.cpp:247–252  ·  view source on GitHub ↗

* @brief Callback function for yield test * * Yields to multi_step_callback_2 for step-by-step processing. */

Source from the content-addressed store, hash-verified

245 * Yields to multi_step_callback_2 for step-by-step processing.
246 */
247void yield_callback() {
248 test_output.push_back("step_1");
249 if (global_yield_task) {
250 global_yield_task->yield(&multi_step_callback_2);
251 }
252}
253
254/**
255 * @brief Callback function for yield once test

Callers

nothing calls this directly

Calls 1

yieldMethod · 0.80

Tested by

no test coverage detected