[rtems commit] rtems/score/thread*.h: TERMINTING to TERMINATING

Joel Sherrill joel.sherrill at OARcorp.com
Wed May 28 21:54:23 UTC 2014


On 5/28/2014 4:49 PM, Gedare Bloom wrote:
> On Wed, May 28, 2014 at 5:34 PM, Joel Sherrill <joel at rtems.org> wrote:
>> 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
> You replaced one typo with another, it should be TERMINATING.
Damn it! I should have just sent the email saying I was heading home
and could someone else fix it. :(
>>  } 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(
>>
>> _______________________________________________
>> rtems-vc mailing list
>> rtems-vc at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-vc
> _______________________________________________
> rtems-vc mailing list
> rtems-vc at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-vc

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the devel mailing list