| 130 | } |
| 131 | |
| 132 | rt_inline void _fast_spin_unlock(struct rt_spinlock *lock) |
| 133 | { |
| 134 | rt_base_t critical_level; |
| 135 | RT_SPIN_UNLOCK_DEBUG(lock, critical_level); |
| 136 | |
| 137 | /* for the scenario of sched, we don't check critical level */ |
| 138 | RT_UNUSED(critical_level); |
| 139 | |
| 140 | rt_hw_spin_unlock(&lock->lock); |
| 141 | } |
| 142 | |
| 143 | #if defined(RT_USING_HOOK) && defined(RT_HOOK_USING_FUNC_PTR) |
| 144 | static void (*rt_scheduler_hook)(struct rt_thread *from, struct rt_thread *to); |
no test coverage detected