MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / rt_spin_lock_init

Function rt_spin_lock_init

src/cpu_up.c:30–33  ·  view source on GitHub ↗

* @brief Initialize a static spinlock object. * * @param lock is a pointer to the spinlock to initialize. */

Source from the content-addressed store, hash-verified

28 * @param lock is a pointer to the spinlock to initialize.
29 */
30void rt_spin_lock_init(struct rt_spinlock *lock)
31{
32 RT_UNUSED(lock);
33}
34
35/**
36 * @brief This function will lock the spinlock, will lock the thread scheduler.

Callers 15

_heap_lock_initFunction · 0.70
_sem_object_initFunction · 0.70
rt_mutex_initFunction · 0.70
rt_mutex_createFunction · 0.70
rt_event_initFunction · 0.70
rt_event_createFunction · 0.70
rt_mb_initFunction · 0.70
rt_mb_createFunction · 0.70
rt_mq_initFunction · 0.70
rt_mq_createFunction · 0.70
rt_thread_defunct_initFunction · 0.70
rt_mp_initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected