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

Function _fast_spin_unlock

src/scheduler_mp.c:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132rt_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)
144static void (*rt_scheduler_hook)(struct rt_thread *from, struct rt_thread *to);

Callers 1

Calls 1

rt_hw_spin_unlockFunction · 0.50

Tested by

no test coverage detected