diff options
| author | [email protected] <[email protected]> | 2012-06-02 09:20:19 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-02 09:20:19 +0000 |
| commit | f19d8aa591a4f92054d7fd1af063483f07175a64 (patch) | |
| tree | 9ee803b15bff4a415b995aae70bdab97557e4757 /src/thread.c | |
| parent | 907bb8c7fde7da259f5b817af87a79c42b8932d0 (diff) | |
change the return type of function rt_object_is_systemobject()
using rt_bool_t instead of rt_err_t
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2150 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index b964099a72..a2adee0c74 100644 --- a/src/thread.c +++ b/src/thread.c @@ -53,7 +53,7 @@ static void rt_thread_exit(void) rt_list_remove(&(thread->thread_timer.list)); rt_object_detach((rt_object_t)&(thread->thread_timer)); - if ((rt_object_is_systemobject((rt_object_t)thread) == RT_EOK) && + if ((rt_object_is_systemobject((rt_object_t)thread) == RT_TRUE) && thread->cleanup == RT_NULL) { rt_object_detach((rt_object_t)thread); |
