summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadyieldprocessor.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 05:52:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 05:52:32 +0000
commitaae7f1a12b1d5bfe7233ce45532dba3ce651357b (patch)
tree072e6a5712a00830e7d89115cb2ee9b1f9f1895e /cpukit/score/src/threadyieldprocessor.c
parent2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-aae7f1a12b1d5bfe7233ce45532dba3ce651357b.tar.bz2
Eliminate TRUE/FALSE.
Diffstat (limited to 'cpukit/score/src/threadyieldprocessor.c')
-rw-r--r--cpukit/score/src/threadyieldprocessor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/threadyieldprocessor.c b/cpukit/score/src/threadyieldprocessor.c
index 7f2325ed78..9defbeab34 100644
--- a/cpukit/score/src/threadyieldprocessor.c
+++ b/cpukit/score/src/threadyieldprocessor.c
@@ -37,7 +37,7 @@
* This kernel routine will remove the running THREAD from the ready chain
* and place it immediatly at the rear of this chain. Reset timeslice
* and yield the processor functions both use this routine, therefore if
- * reset is TRUE and this is the only thread on the chain then the
+ * reset is true and this is the only thread on the chain then the
* timeslice counter is reset. The heir THREAD will be updated if the
* running is also the currently the heir.
*
@@ -67,10 +67,10 @@ void _Thread_Yield_processor( void )
if ( _Thread_Is_heir( executing ) )
_Thread_Heir = (Thread_Control *) ready->first;
- _Context_Switch_necessary = TRUE;
+ _Context_Switch_necessary = true;
}
else if ( !_Thread_Is_heir( executing ) )
- _Context_Switch_necessary = TRUE;
+ _Context_Switch_necessary = true;
_ISR_Enable( level );
}