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

Function current_task_callback

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

* @brief Callback function for getCurrentTask test * * Captures the current task pointer for verification. */

Source from the content-addressed store, hash-verified

165 * Captures the current task pointer for verification.
166 */
167void current_task_callback() {
168 global_current_task_ptr = global_scheduler_ptr->getCurrentTask();
169 test_output.push_back("got_current_task");
170}
171
172
173/**

Callers

nothing calls this directly

Calls 1

getCurrentTaskMethod · 0.80

Tested by

no test coverage detected