MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_sched_thread_reset_priority

Function rt_sched_thread_reset_priority

src/scheduler_comm.c:409–412  ·  view source on GitHub ↗

* @brief Reset priority of the target thread */

Source from the content-addressed store, hash-verified

407 * @brief Reset priority of the target thread
408 */
409rt_err_t rt_sched_thread_reset_priority(struct rt_thread *thread, rt_uint8_t priority)
410{
411 return _rt_sched_update_priority(thread, priority, RT_TRUE);
412}
413
414#ifdef RT_USING_OVERFLOW_CHECK
415

Callers 1

rt_thread_controlFunction · 0.85

Calls 1

Tested by

no test coverage detected