File tree Expand file tree Collapse file tree 3 files changed +60
-60
lines changed Expand file tree Collapse file tree 3 files changed +60
-60
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ rt_err_t rt_thread_idle_delhook(void (*hook)(void))
129129
130130#ifdef RT_USING_HEAP
131131/* Return whether there is defunctional thread to be deleted. */
132- rt_inline int _rt_has_defunct_thread (void )
132+ rt_inline int _idle_has_defunct_thread (void )
133133{
134134 /* The rt_list_isempty has prototype of "int rt_list_isempty(const rt_list_t *l)".
135135 * So the compiler has a good reason that the rt_thread_defunct list does
@@ -165,7 +165,7 @@ void rt_thread_idle_excute(void)
165165 lock = rt_hw_interrupt_disable ();
166166
167167 /* check whether list is empty */
168- if (!_rt_has_defunct_thread ())
168+ if (!_idle_has_defunct_thread ())
169169 {
170170 rt_hw_interrupt_enable (lock );
171171 break ;
You can’t perform that action at this time.
0 commit comments