MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / RestorePriority

Method RestorePriority

src/task/include/scheduler_base.hpp:121–122  ·  view source on GitHub ↗

* @brief 优先级恢复:当任务释放资源后,恢复其原始优先级 * * @param task 需要恢复优先级的任务 */

Source from the content-addressed store, hash-verified

119 * @param task 需要恢复优先级的任务
120 */
121 virtual auto RestorePriority([[maybe_unused]] TaskControlBlock* task)
122 -> void {}
123
124 /**
125 * @brief 任务被抢占时调用 (从 Running 变为 Ready)

Callers 3

test_rr_hooksFunction · 0.80
test_fifo_hooksFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_rr_hooksFunction · 0.64
test_fifo_hooksFunction · 0.64
TESTFunction · 0.64