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.
2 parents b8a75f8 + c10678c commit 054f6dbCopy full SHA for 054f6db
src/idle.c
@@ -139,7 +139,7 @@ rt_err_t rt_thread_idle_delhook(void (*hook)(void))
139
140
#ifdef RT_USING_MODULE
141
/* Return whether there is defunctional thread to be deleted. */
142
-rt_inline int _has_defunct_thread(void)
+rt_inline int _idle_has_defunct_thread(void)
143
{
144
/* The rt_list_isempty has prototype of "int rt_list_isempty(const rt_list_t *l)".
145
* So the compiler has a good reason that the _rt_thread_defunct list does
@@ -207,7 +207,7 @@ static void rt_defunct_execute(void)
207
208
209
/* check whether list is empty */
210
- if (!_has_defunct_thread())
+ if (!_idle_has_defunct_thread())
211
212
rt_hw_interrupt_enable(lock);
213
break;
0 commit comments