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

Function rt_sched_unlock

src/scheduler_mp.c:586–591  ·  view source on GitHub ↗

* @brief Unlock the scheduler and restore the interrupt level * * @param level The interrupt level to restore (previously saved by rt_sched_lock) * * @return rt_err_t Always returns RT_EOK * * @note This function has both MP version and UP version. */

Source from the content-addressed store, hash-verified

584 * @note This function has both MP version and UP version.
585 */
586rt_err_t rt_sched_unlock(rt_sched_lock_level_t level)
587{
588 SCHEDULER_UNLOCK(level);
589
590 return RT_EOK;
591}
592
593/**
594 * @brief Check if the scheduler is currently locked

Callers 1

rt_sched_thread_bind_cpuFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected