From 2351981e838d4c663d5940faafc6292bbd9f9e2b Mon Sep 17 00:00:00 2001 From: heyuanjie87 <943313837@qq.com> Date: Fri, 30 Aug 2024 11:03:55 +0800 Subject: 分离defunct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components.c') diff --git a/src/components.c b/src/components.c index d1adac181b..b561e227de 100644 --- a/src/components.c +++ b/src/components.c @@ -270,6 +270,9 @@ int rtthread_startup(void) /* idle thread initialization */ rt_thread_idle_init(); + /* defunct thread initialization */ + rt_thread_defunct_init(); + #ifdef RT_USING_SMP rt_hw_spin_lock(&_cpus_lock); #endif /* RT_USING_SMP */ -- cgit v1.3.1