mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 03:57:09 +08:00
add defunct list initialization even if not use heap.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1199 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
9ee5762068
commit
12750c38b8
@ -22,6 +22,7 @@
|
||||
* 2010-04-11 yi.qiu add module feature
|
||||
* 2010-07-13 Bernard fix the maximal number of rt_scheduler_lock_nest
|
||||
* issue found by kuronca
|
||||
* 2010-12-13 Bernard add defunct list initialization even if not use heap.
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
@ -148,10 +149,8 @@ void rt_system_scheduler_init(void)
|
||||
rt_memset(rt_thread_ready_table, 0, sizeof(rt_thread_ready_table));
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_HEAP
|
||||
/* init thread defunct */
|
||||
rt_list_init(&rt_thread_defunct);
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user