diff options
| author | mbbill <[email protected]> | 2009-12-29 07:17:58 +0000 |
|---|---|---|
| committer | mbbill <[email protected]> | 2009-12-29 07:17:58 +0000 |
| commit | 79ca654e1362270c5994eba864a1ddcc78e6cbaa (patch) | |
| tree | fa67fb76afce134a9e049df94403a65398ef3f93 /src | |
| parent | 78de03446bdc2ed0c56e76c0beff8221a358c250 (diff) | |
ADD: Add abort handler, it will terminate current thread by default.
ADD: Merged svc, abort and irq mode stack.
ADD: Changed MDK project to new format.
FIX: Removed the "static" qualifier of rt_thread_exit().
FIX: Change AT91SAM7X.h to the standard header(AT91SAM7X256.h) of RealView MDK. (not all of them are changed, e.g. sd.c)
FIX: Moved some board-dependent files to bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@257 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src')
| -rw-r--r-- | src/thread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/thread.c b/src/thread.c index a9bfd91144..e678b06946 100644 --- a/src/thread.c +++ b/src/thread.c @@ -34,7 +34,6 @@ extern rt_uint8_t rt_current_priority; extern rt_list_t rt_thread_defunct; #endif -static void rt_thread_exit(void); void rt_thread_timeout(void* parameter); static rt_err_t _rt_thread_init(struct rt_thread* thread, @@ -223,7 +222,7 @@ rt_err_t rt_thread_startup (rt_thread_t thread) return RT_EOK; } -static void rt_thread_exit() +void rt_thread_exit() { struct rt_thread* thread; register rt_base_t temp; |
