We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0b66cc commit 0769416Copy full SHA for 0769416
src/idle.c
@@ -129,7 +129,7 @@ rt_err_t rt_thread_idle_delhook(void (*hook)(void))
129
130
#ifdef RT_USING_HEAP
131
/* Return whether there is defunctional thread to be deleted. */
132
-rt_inline int _has_defunct_thread(void)
+rt_inline int _rt_has_defunct_thread(void)
133
{
134
/* The rt_list_isempty has prototype of "int rt_list_isempty(const rt_list_t *l)".
135
* So the compiler has a good reason that the rt_thread_defunct list does
@@ -165,7 +165,7 @@ void rt_thread_idle_excute(void)
165
lock = rt_hw_interrupt_disable();
166
167
/* check whether list is empty */
168
- if (!_has_defunct_thread())
+ if (!_rt_has_defunct_thread())
169
170
rt_hw_interrupt_enable(lock);
171
break;
0 commit comments