diff options
| author | qiuyiuestc <[email protected]> | 2010-04-11 16:44:54 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-04-11 16:44:54 +0000 |
| commit | 5211e7ff8fbd9dd7737fa5c0d83b505bbba0c893 (patch) | |
| tree | f552be8b7119d85590dc55987fd01c7ebc97d944 /src/thread.c | |
| parent | ca6a1a7ecbd47f45b00aac9766b8dfb572c6eade (diff) | |
add module feature
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@604 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c index 8a2f8a7844..875a00aedb 100644 --- a/src/thread.c +++ b/src/thread.c @@ -19,6 +19,7 @@ * 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> @@ -627,4 +628,21 @@ rt_thread_t rt_thread_find(char* name) return thread; } +#ifdef RT_USING_MODULE +#include <rtm.h> +/* some buildin kernel symbol */ +RTM_EXPORT(rt_thread_init) +RTM_EXPORT(rt_thread_detach) +RTM_EXPORT(rt_thread_create) +RTM_EXPORT(rt_thread_self) +RTM_EXPORT(rt_thread_find) +RTM_EXPORT(rt_thread_startup) +RTM_EXPORT(rt_thread_delete) +RTM_EXPORT(rt_thread_yield) +RTM_EXPORT(rt_thread_delay) +RTM_EXPORT(rt_thread_control) +RTM_EXPORT(rt_thread_suspend) +RTM_EXPORT(rt_thread_resume) +RTM_EXPORT(rt_thread_timeout) +#endif /*@}*/ |
