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 /include | |
| 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 'include')
| -rw-r--r-- | include/rtthread.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index ae619f4a31..e2654496b0 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -112,7 +112,6 @@ rt_err_t rt_thread_control(rt_thread_t thread, rt_uint8_t cmd, void* arg); rt_err_t rt_thread_suspend(rt_thread_t thread); rt_err_t rt_thread_resume(rt_thread_t thread); void rt_thread_timeout(void* parameter); -void rt_thread_exit(void); /* * idle thread interface @@ -176,7 +175,7 @@ void rt_free (void *ptr); void* rt_realloc(void *ptr, rt_size_t nbytes); void *rt_calloc(rt_size_t count, rt_size_t size); -void rt_memory_info(rt_uint32_t *total, +void rt_memory_info(rt_uint32_t *total, rt_uint32_t *used, rt_uint32_t *max_used); |
