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
This commit is contained in:
mbbill
2009-12-29 08:13:45 +00:00
parent 8a590215b6
commit 54453a0748
3 changed files with 10 additions and 8 deletions
+2 -1
View File
@@ -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;