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

Function high_priority_callback

tests/test-scheduler-priority.cpp:131–136  ·  view source on GitHub ↗

* @brief High priority task callback - simulates critical priority work */

Source from the content-addressed store, hash-verified

129 * @brief High priority task callback - simulates critical priority work
130 */
131void high_priority_callback() {
132 priority_callback_counter++;
133 priority_test_output.push_back("high_priority_executed");
134 priority_execution_times[priority_execution_index++] = millis();
135 std::cout << "High priority task executed at " << millis() << "ms" << std::endl;
136}
137
138/**
139 * @brief Priority test callback that uses currentScheduler() and currentTask()

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected