Changeset 9d47cd1 in rtems for testsuites/tmtests/tm26/task1.c


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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.