[rtems commit] rtems/score/thread*.h: TERMINTING to TERMINATING
Joel Sherrill
joel at rtems.org
Wed May 28 21:34:40 UTC 2014
Module: rtems
Branch: master
Commit: 27caaa60f341b0be325ca6be114ef9dbcc303b45
Changeset: http://git.rtems.org/rtems/commit/?id=27caaa60f341b0be325ca6be114ef9dbcc303b45
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Wed May 28 16:42:33 2014 -0500
rtems/score/thread*.h: TERMINTING to TERMINATING
---
cpukit/score/include/rtems/score/thread.h | 4 ++--
cpukit/score/include/rtems/score/threadimpl.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 0deeea0..7c25dfe 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -415,8 +415,8 @@ typedef enum {
THREAD_LIFE_PROTECTED_RESTARTING = 0x3,
THREAD_LIFE_TERMINATING = 0x4,
THREAD_LIFE_PROTECTED_TERMINATING = 0x5,
- THREAD_LIFE_RESTARTING_TERMINTING = 0x6,
- THREAD_LIFE_PROTECTED_RESTARTING_TERMINTING = 0x7
+ THREAD_LIFE_RESTARTING_TERMINAING = 0x6,
+ THREAD_LIFE_PROTECTED_RESTARTING_TERMINAING = 0x7
} Thread_Life_state;
/**
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index 2be5cc5..f6db676 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -782,7 +782,7 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_life_changing(
Thread_Life_state life_state
)
{
- return ( life_state & THREAD_LIFE_RESTARTING_TERMINTING ) != 0;
+ return ( life_state & THREAD_LIFE_RESTARTING_TERMINAING ) != 0;
}
RTEMS_INLINE_ROUTINE void _Thread_Debug_set_real_processor(
More information about the vc
mailing list