diff options
| author | mbbill <[email protected]> | 2009-12-29 08:13:45 +0000 |
|---|---|---|
| committer | mbbill <[email protected]> | 2009-12-29 08:13:45 +0000 |
| commit | 54453a0748bbf6b6c5764f6becb81f8557b9e87f (patch) | |
| tree | 3b644404bd856233e1cabdc3d6766ed9dc9ff6ec /src/thread.c | |
| parent | 8a590215b66ac780c9d5a168146b945b8071dcf6 (diff) | |
FIX: Revert thread.c and rtthread.h to previous version.
FIX: Abort handler will suspend current thread instead of terminate it.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@260 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index e678b06946..a9bfd91144 100644 --- a/src/thread.c +++ b/src/thread.c @@ -34,6 +34,7 @@ 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, @@ -222,7 +223,7 @@ rt_err_t rt_thread_startup (rt_thread_t thread) return RT_EOK; } -void rt_thread_exit() +static void rt_thread_exit() { struct rt_thread* thread; register rt_base_t temp; |
