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

Function rt_thread_idle_gethandler

src/idle.c:208–213  ·  view source on GitHub ↗

* @brief This function will get the handler of the idle thread. */

Source from the content-addressed store, hash-verified

206 * @brief This function will get the handler of the idle thread.
207 */
208rt_thread_t rt_thread_idle_gethandler(void)
209{
210 int id = rt_cpu_get_id();
211
212 return (rt_thread_t)(&idle_thread[id]);
213}
214
215/** @} group_thread_management */

Callers

nothing calls this directly

Calls 1

rt_cpu_get_idFunction · 0.85

Tested by

no test coverage detected