mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-20 21:29:42 +08:00
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:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user