summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm26/task1.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-01 04:10:20 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-01 04:10:20 +0000
commit937132ea3ba1b902add38e5041cadfd141b553bd (patch)
treef929559ea49a2870d49c6b7c3329f43bebc6435b /testsuites/tmtests/tm26/task1.c
parent2009-11-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-937132ea3ba1b902add38e5041cadfd141b553bd.tar.bz2
Use true/false instead of TRUE/FALSE for "bool"s.
Diffstat (limited to 'testsuites/tmtests/tm26/task1.c')
-rw-r--r--testsuites/tmtests/tm26/task1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index 0ba36ea497..5db583cbe2 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -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;
+ _Context_Switch_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;
+ _Context_Switch_necessary = false;
_Thread_Disable_dispatch();
@@ -283,7 +283,7 @@ rtems_task Low_task(
/* do not force context switch */
- _Context_Switch_necessary = FALSE;
+ _Context_Switch_necessary = false;
_Thread_Disable_dispatch();
@@ -310,7 +310,7 @@ rtems_task Floating_point_task_1(
/* do not force context switch */
- _Context_Switch_necessary = FALSE;
+ _Context_Switch_necessary = false;
_Thread_Disable_dispatch();
@@ -333,7 +333,7 @@ rtems_task Floating_point_task_1(
/* do not force context switch */
- _Context_Switch_necessary = FALSE;
+ _Context_Switch_necessary = false;
_Thread_Disable_dispatch();
@@ -364,7 +364,7 @@ rtems_task Floating_point_task_2(
/* do not force context switch */
- _Context_Switch_necessary = FALSE;
+ _Context_Switch_necessary = false;
_Thread_Disable_dispatch();
@@ -387,7 +387,7 @@ void complete_test( void )
rtems_id task_id;
benchmark_timer_initialize();
- _Thread_Resume( Middle_tcb, TRUE );
+ _Thread_Resume( Middle_tcb, true );
thread_resume_time = benchmark_timer_read();
_Thread_Set_state( Middle_tcb, STATES_WAITING_FOR_MESSAGE );
@@ -430,7 +430,7 @@ void complete_test( void )
*/
_Thread_Heir = _Thread_Executing;
- _Context_Switch_necessary = FALSE;
+ _Context_Switch_necessary = false;
_Thread_Dispatch_disable_level = 0;
/*