summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/thread.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-30 18:53:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-30 18:53:06 +0000
commit4b1d26142c68cd1eeaa5a8da1ff8c120508775c0 (patch)
tree55f46eec768aa07520137b2cdc1100ba2251d5f9 /cpukit/score/inline/rtems/score/thread.inl
parent2010-07-30 Gedare Bloom <giddyup44@yahoo.com> (diff)
downloadrtems-4b1d26142c68cd1eeaa5a8da1ff8c120508775c0.tar.bz2
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit * posix/src/psignalunblockthread.c, posix/src/pthreadkill.c, rtems/src/signalsend.c, score/include/rtems/score/percpu.h, score/inline/rtems/score/thread.inl, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threaddispatch.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetstate.c, score/src/threadstartmultitasking.c, score/src/threadsuspend.c, score/src/threadyieldprocessor.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
Diffstat (limited to 'cpukit/score/inline/rtems/score/thread.inl')
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl
index d008989915..d0a9e703f7 100644
--- a/cpukit/score/inline/rtems/score/thread.inl
+++ b/cpukit/score/inline/rtems/score/thread.inl
@@ -258,7 +258,7 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_dispatching_enabled( void )
RTEMS_INLINE_ROUTINE bool _Thread_Is_context_switch_necessary( void )
{
- return ( _Context_Switch_necessary );
+ return ( _Thread_Dispatch_necessary );
}
/**
@@ -351,7 +351,7 @@ RTEMS_INLINE_ROUTINE bool _Thread_Evaluate_is_dispatch_needed(
if ( are_signals_pending ||
(!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
return true;
}