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

Function task2_callback

tests/test-scheduler-basic.cpp:45–48  ·  view source on GitHub ↗

* @brief Simple callback function for Task 2 testing * * Records execution with Task2 identifier to distinguish from other tasks * in multi-task scheduling tests. Essential for verifying proper task * isolation and execution ordering in concurrent scenarios. */

Source from the content-addressed store, hash-verified

43 * isolation and execution ordering in concurrent scenarios.
44 */
45void task2_callback() {
46 test_output.push_back("Task2 executed");
47 std::cout << "Task2 executed at " << millis() << "ms" << std::endl;
48}
49
50/**
51 * @brief Simple callback function for Task 3 testing

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected