summaryrefslogtreecommitdiff
path: root/src/scheduler.c
diff options
context:
space:
mode:
authorfenghuijie <[email protected]>2021-07-03 17:54:58 +0800
committerfenghuijie <[email protected]>2021-07-03 17:54:58 +0800
commit05bb1a50b0d26b7c60c82ccb4ff8a66a501feac3 (patch)
tree45f16fe28877c2a4edf02849afa5d1155bb718cf /src/scheduler.c
parentda701d6b3a7b28d7dd2aca4897a902476b1581e4 (diff)
添加idle回收资源的修改
Diffstat (limited to 'src/scheduler.c')
-rw-r--r--src/scheduler.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/scheduler.c b/src/scheduler.c
index eec660a8aa..956d95d7cc 100644
--- a/src/scheduler.c
+++ b/src/scheduler.c
@@ -47,8 +47,6 @@ struct rt_thread *rt_current_thread = RT_NULL;
rt_uint8_t rt_current_priority;
#endif /* RT_USING_SMP */
-rt_list_t rt_thread_defunct;
-
#ifdef RT_USING_HOOK
static void (*rt_scheduler_hook)(struct rt_thread *from, struct rt_thread *to);
@@ -224,9 +222,6 @@ void rt_system_scheduler_init(void)
/* initialize ready table */
rt_memset(rt_thread_ready_table, 0, sizeof(rt_thread_ready_table));
#endif /* RT_THREAD_PRIORITY_MAX > 32 */
-
- /* initialize thread defunct */
- rt_list_init(&rt_thread_defunct);
}
/**