* @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. */
| 584 | * @note This function has both MP version and UP version. |
| 585 | */ |
| 586 | rt_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 |
no outgoing calls
no test coverage detected