2010-07-30 Gedare Bloom <giddyup44@yahoo.com>

PR 1599/cpukit
	* tm26/task1.c, tm27/task1.c: Rename _Context_Switch_necessary to
	_Thread_Dispatch_necessary to more properly reflect the intent.
This commit is contained in:
Joel Sherrill
2010-07-30 18:52:32 +00:00
parent 48170821f0
commit 9d47cd1aef
3 changed files with 15 additions and 9 deletions
+6
View File
@@ -1,3 +1,9 @@
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
* tm26/task1.c, tm27/task1.c: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: New test for barrier create, ident, and
+7 -7
View File
@@ -225,7 +225,7 @@ rtems_task High_task(
_Thread_Set_state( _Thread_Executing, STATES_SUSPENDED );
thread_set_state_time = benchmark_timer_read();
_Context_Switch_necessary = true;
_Thread_Dispatch_necessary = true;
benchmark_timer_initialize();
_Thread_Dispatch(); /* dispatches Middle_task */
@@ -246,7 +246,7 @@ rtems_task Middle_task(
/* do not force context switch */
_Context_Switch_necessary = false;
_Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -283,7 +283,7 @@ rtems_task Low_task(
/* do not force context switch */
_Context_Switch_necessary = false;
_Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -310,7 +310,7 @@ rtems_task Floating_point_task_1(
/* do not force context switch */
_Context_Switch_necessary = false;
_Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -333,7 +333,7 @@ rtems_task Floating_point_task_1(
/* do not force context switch */
_Context_Switch_necessary = false;
_Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -364,7 +364,7 @@ rtems_task Floating_point_task_2(
/* do not force context switch */
_Context_Switch_necessary = false;
_Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -430,7 +430,7 @@ void complete_test( void )
*/
_Thread_Heir = _Thread_Executing;
_Context_Switch_necessary = false;
_Thread_Dispatch_necessary = false;
_Thread_Dispatch_disable_level = 0;
/*
+2 -2
View File
@@ -172,7 +172,7 @@ rtems_task Task_1(
_Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].last;
_Context_Switch_necessary = 1;
_Thread_Dispatch_necessary = 1;
Interrupt_occurred = 0;
benchmark_timer_initialize();
@@ -229,7 +229,7 @@ rtems_task Task_2(
_Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].first;
_Context_Switch_necessary = 1;
_Thread_Dispatch_necessary = 1;
_Thread_Dispatch();