Merge pull request #4053 from yangjie11/kernel

[src][scheduler] remove RT_USING_FINSH in kernel, remove list_thread()
This commit is contained in:
Bernard Xiong 2020-12-07 14:17:57 +08:00 committed by GitHub
commit 3f122bd790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -90,12 +90,7 @@ static void _rt_scheduler_stack_check(struct rt_thread *thread)
rt_ubase_t level; rt_ubase_t level;
rt_kprintf("thread:%s stack overflow\n", thread->name); rt_kprintf("thread:%s stack overflow\n", thread->name);
#ifdef RT_USING_FINSH
{
extern long list_thread(void);
list_thread();
}
#endif
level = rt_hw_interrupt_disable(); level = rt_hw_interrupt_disable();
while (level); while (level);
} }