Changeset 9d47cd1 in rtems


Ignore:
Timestamp:
Jul 30, 2010, 6:52:32 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
4b1d261
Parents:
4817082
Message:

2010-07-30 Gedare Bloom <giddyup44@…>

PR 1599/cpukit

  • tm26/task1.c, tm27/task1.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
Location:
testsuites/tmtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/ChangeLog

    r4817082 r9d47cd1  
     12010-07-30      Gedare Bloom <giddyup44@yahoo.com>
     2
     3        PR 1599/cpukit
     4        * tm26/task1.c, tm27/task1.c: Rename _Context_Switch_necessary to
     5        _Thread_Dispatch_necessary to more properly reflect the intent.
     6
    172010-06-21      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/tmtests/tm26/task1.c

    r4817082 r9d47cd1  
    226226  thread_set_state_time = benchmark_timer_read();
    227227
    228   _Context_Switch_necessary = true;
     228  _Thread_Dispatch_necessary = true;
    229229
    230230  benchmark_timer_initialize();
     
    247247  /* do not force context switch */
    248248
    249   _Context_Switch_necessary = false;
     249  _Thread_Dispatch_necessary = false;
    250250
    251251  _Thread_Disable_dispatch();
     
    284284  /* do not force context switch */
    285285
    286   _Context_Switch_necessary = false;
     286  _Thread_Dispatch_necessary = false;
    287287
    288288  _Thread_Disable_dispatch();
     
    311311  /* do not force context switch */
    312312
    313   _Context_Switch_necessary = false;
     313  _Thread_Dispatch_necessary = false;
    314314
    315315  _Thread_Disable_dispatch();
     
    334334  /* do not force context switch */
    335335
    336   _Context_Switch_necessary = false;
     336  _Thread_Dispatch_necessary = false;
    337337
    338338  _Thread_Disable_dispatch();
     
    365365  /* do not force context switch */
    366366
    367   _Context_Switch_necessary = false;
     367  _Thread_Dispatch_necessary = false;
    368368
    369369  _Thread_Disable_dispatch();
     
    431431
    432432  _Thread_Heir = _Thread_Executing;
    433   _Context_Switch_necessary = false;
     433  _Thread_Dispatch_necessary = false;
    434434  _Thread_Dispatch_disable_level = 0;
    435435
  • testsuites/tmtests/tm27/task1.c

    r4817082 r9d47cd1  
    173173  _Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].last;
    174174
    175   _Context_Switch_necessary = 1;
     175  _Thread_Dispatch_necessary = 1;
    176176
    177177  Interrupt_occurred = 0;
     
    230230  _Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].first;
    231231
    232   _Context_Switch_necessary = 1;
     232  _Thread_Dispatch_necessary = 1;
    233233
    234234  _Thread_Dispatch();
Note: See TracChangeset for help on using the changeset viewer.