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

Function rt_cpu_self

src/cpu_up.c:105–108  ·  view source on GitHub ↗

* @brief This fucntion will return current cpu object. * * @return Return a pointer to the current cpu object. */

Source from the content-addressed store, hash-verified

103 * @return Return a pointer to the current cpu object.
104 */
105struct rt_cpu *rt_cpu_self(void)
106{
107 return &_cpu;
108}
109
110/**
111 * @brief This fucntion will return the cpu object corresponding to index.

Callers 15

rt_interrupt_context_popFunction · 0.70
rt_interrupt_context_getFunction · 0.70
_update_process_timesFunction · 0.70
rt_tick_increaseFunction · 0.70
rt_tick_increase_tickFunction · 0.70
rt_scheduleFunction · 0.70
rt_sched_is_lockedFunction · 0.70
rt_sched_post_ctx_switchFunction · 0.70
rt_exit_critical_safeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected