diff options
| author | bernard.xiong <[email protected]> | 2010-12-13 05:26:15 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-12-13 05:26:15 +0000 |
| commit | 12750c38b88533feb5538396c81769ac7ae037f1 (patch) | |
| tree | 0d67e245a0844dafbae8f2111f48f77e8db26d91 /src | |
| parent | 9ee576206863e4998ad3c13cd5b16d547a90cb27 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/scheduler.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scheduler.c b/src/scheduler.c index 9ce552f70e..07e829e387 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -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 } /** |
