diff options
| author | qiuyiuestc <[email protected]> | 2010-10-28 01:21:47 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-10-28 01:21:47 +0000 |
| commit | fb7d4122fc97be364cf2ce76380b0e5465aba7eb (patch) | |
| tree | 5149aa8116873baaeb7b8e9cb7160a5011aa10bd /src/thread.c | |
| parent | a6f06d24cfec32dddee27a1ce61920fc4007d68a (diff) | |
implement module memory allocator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/thread.c b/src/thread.c index 536189070e..05eb403b56 100644 --- a/src/thread.c +++ b/src/thread.c @@ -19,7 +19,6 @@ * 2006-09-03 Bernard implement rt_thread_detach * 2008-02-16 Bernard fix the rt_thread_timeout bug * 2010-03-21 Bernard change the errno of rt_thread_delay/sleep to RT_EOK. - * 2010-04-11 Yi.Qiu add module feature */ #include <rtthread.h> @@ -73,13 +72,6 @@ static rt_err_t _rt_thread_init(struct rt_thread* thread, /* error and flags */ thread->error = RT_EOK; thread->stat = RT_THREAD_INIT; - thread->flags = 0; - -#ifdef RT_USING_MODULE - /* init module parent */ - thread->module_parent = - (rt_module_self() != RT_NULL) ? rt_module_self() : RT_NULL; -#endif /* init user data */ thread->user_data = 0; |
